summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-18Add new uvm function called uvm_map_pie() which takes align as aKurt Miller
parameter and returns an aligned random load address for position independent executables to use. This also adds three new vmparam.h defines to specify the maximum address, minimum address and minimum allowed alignment for uvm_map_pie() to use. The PIE address range for i386 was carefully selected to work well within the i386 W^X framework. With much help and feedback from weingart@. okay weingart@, miod@, kettenis@, drahn@
2008-07-18Add OmniVision OV7670 cam to the supported devices which comes in theMarcus Glocker
Dell XPS M1330 Notebooks. Tested by kettenis@
2008-07-18remove unnessasary cast.Kevin Lo
ok millert@
2008-07-18o Use mbufs, for the RX ring, instead of malloc()'ing an MCLBYTES sized buffer.Thordur I. Bjornsson
o On non-strict alignment archs, dont copy the mbuf, every time, unload it, and send it up the stack and just get a new one for the rx ring. We still do the copy on strict alignment archs though... o create a function to handle mbuf allocation for the rx ring, vr_mbuf_alloc(), use it to allocate the mbufs and shuffle the bus dma setup around. ideas/code from vic(4) and sis(4); ok reyk@, brad@, dlg@ tested by many, been in snapshots for a while.
2008-07-18fix cases, found by lint:Martynas Venckus
- actually raise inexacts for expm1, and support - __exp__E always returns, because inexact check always succeeds. add NOTREACHED - some cases in lgamma FALLTHROUGH, as intended ok millert@
2008-07-18merge host_v6 with relayd's version to use getaddrinfo instead ofReyk Floeter
inet_pton. host_v4, host_v6, and host_dns could be merged into one function using getaddrinfo but i keep it in multiple functions to keep it in sync with the other daemons using this common code.
2008-07-18merge log_host with relayd's version using getnameinfo and rename itReyk Floeter
to print_host.
2008-07-18terminate the input buffer on failure in print_host()Reyk Floeter
2008-07-18the Belkin F5D7010 version # is a RTL8185 cardbus device. thisReyk Floeter
chipset revision is not supported yet, so add it commented out.
2008-07-18syncReyk Floeter
2008-07-18Add Belkin Wireless G Notebook Card F5D7010 (rtw(4) RTL8185-based)Reyk Floeter
2008-07-18POLL causes concurrency issues with event driven batteries. Remove for nowMarco Peereboom
until I have time to implement proper fix. Noted by several folks.
2008-07-18oops. move infnan to md.vax. pointed out by theoMartynas Venckus
2008-07-17Zero mbreg_t structure *before* initializing any members, not when we'reMark Kettenis
halfway through. Makes the ISP12160 correctly load its firmware again on sparc64. ok krw@
2008-07-17Add a flag and allow the driver to identify the BCM5788 chipsets. They'reBrad Smith
slightly different from the other chipsets using the BCM5705 ASIC. ok jsg@
2008-07-17final reorder diff to use TAILQ_INSERT_TAIL instead ofReyk Floeter
TAILQ_INSERT_HEAD. now tables and relays are also matching the order in the config file. ok pyr@
2008-07-17add the hosts in order to get host ids that match the order in the config ↵Reyk Floeter
file. ok pyr@
2008-07-17give sane ids to hosts, tables, redirections, relays, etc. - startReyk Floeter
counting at 1 and do not assign an id before inheriting a real table. makes more sense in the relayctl output. ok pyr@
2008-07-17properly raise inexact; ok millert@Martynas Venckus
2008-07-17use getaddrinfo/getnameinfo to parse ipv6 addresses instead ofReyk Floeter
inet_pton/inet_ntop to allow specifing and printing the IPv6 scope identifier. synced host_v6() with ntpd's version to use getaddrinfo() instead of inet_pton() - host_v4, host_v6, and host_dns could all use getaddrinfo in a single function by specifing different flags but this would diverge from the other daemons using this common interface so we keep this little overhead. discussed with henning@ ok pyr@
2008-07-17Remove clause 3 from NetBSD license.Joel Sing
ok deraadt@
2008-07-17Increase the size of the diskinfo struct, which has grownJonathan Gray
4 bytes in the new firmware. To allow this to work on older firmwares add a "short read allowed" flag to arc_msgbuf(), which will allow short reads by getting the read length from the header of the response the firmware sends. Only set the flag on the arc_msgbuf() call that deals with the diskinfo struct for now. Discussed with and ok dlg@
2008-07-17strip trailing '.' from hostname when HostbasedUsesNameFromPacketOnly=yesDamien Miller
report and patch from res AT qoxp.net (bz#1200); ok markus@
2008-07-17strnvis preauth banner; pointed out by mpf@ ok markus@Damien Miller
2008-07-17Pasto in error message for setspppkey()Stuart Henderson
ok mbalmer@
2008-07-16Fix several of the 'large offset' PLT entries. With help from kurt.Dale Rahn
ok kurt@
2008-07-16Add a new parameter to pckbc_cnattach(): flags to put in the pckbc bowels.Miod Vallat
For now, only one such flag is defined, PCKBC_CANT_TRANSLATE. It hints pckbc that the device does not behave correctly to the ``set translation'' commands. Set this flag if we are running on a Tadpole Ultrabook machine, which needs it. This makes the built-in keyboard work correctly on this laptop (with the help of the software translation pckbd diff). tested & ok kettenis@
2008-07-16If pckbc_xt_translation() fails, do not try to force the keyboard in tableMiod Vallat
1; instead, try table 2 first, then 1: some older keyboards, connected to a castrated 8042, do not know how to talk in table 1 (or worse, will report they do while they don't). If automatic translation is not possible, remember which table the keyboard ended configured in, and convert the scancodes from table 2 to table 1 if necessary. ok kettenis@
2008-07-16One more pckbd.Miod Vallat
2008-07-16Send unused string literal ``mapme'' to nirvana.Miod Vallat
2008-07-16This file is long unused.Miod Vallat
2008-07-16It is no longer necessary to regen gsckbdmap after changing this file.Miod Vallat
2008-07-16Implement pckbc_xt_translation() in gsckbc. Thus, we can attach pckbd instead ofMiod Vallat
gsckbd; the former will cause a proper translation page to be selected by the keyboard. Because of this, we no longer depend on the page the keyboard is left in by the PDC (page 2 for all machines but the PrecisionBook, which is in page 3), and there is no longer any need to use separate keyboard maps.
2008-07-16Now that uvm_pglistalloc() does not lose on large memory gaps, do notMiod Vallat
restrict the memory allocation range in _dmamem_alloc().
2008-07-16some archaic 'n = a(b), c(d)' use that confused lintMartynas Venckus
ok millert@
2008-07-16install infnan.3 only for vax. pointed out by millert@Martynas Venckus
ok millert@
2008-07-16'no subject' check is never triggered. check if it's actually emptyMartynas Venckus
ok millert@
2008-07-16add -E flag and 'skipempty' option to skip sending messages withMartynas Venckus
empty bodies. useful for sending mails from crontabs. from rivo nurges <rix at estpak dot ee>, with missing 'skipempty' documentation and usage update from me ok millert@
2008-07-16ansify infnan example. sure millert@Martynas Venckus
2008-07-16relay_connect() may fail, close the session in the bindany callbackReyk Floeter
if it does.
2008-07-16infnan always returned wrong values, because compiler assumed itMartynas Venckus
returns integer value, so add missing prototype ok millert@
2008-07-16better description for TMPDIR. from millert@Martynas Venckus
2008-07-16man page tweaks:Martynas Venckus
- for argument of -f flag, name -> file - document TMPDIR, better description from millert@ ok millert@
2008-07-16- use strncmp/strncasecmp instead of comparing by characterMartynas Venckus
- simplify istrlcpy, no need to check for isupper - line[0] is redundant, because strcasecmp will take care of it ok millert@
2008-07-16use getsockname() to find out the local address of a connection beforeReyk Floeter
doing a nat lookup. this fixes nat lookups when the relay is listening to a wildcard IPv4/IPv6 address (like 0.0.0.0 or ::).
2008-07-16- err with the pathbuf, if we know itMartynas Venckus
- use tmpdir instead of /tmp ok millert@
2008-07-16fix nat lookup to use the correct pf_addr offset. now it also worksReyk Floeter
with ipv6.
2008-07-16this loop index should be automatic, not staticDamien Miller
2008-07-16rename variable first_gc -> last_gc (since it is actually the lastDamien Miller
in the list).
2008-07-16Dynamically allocate fd_sets so we are not limited to FD_SETSIZETodd C. Miller
connections. With help from djm@. OK djm@