summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2012-09-17add IPV6_RECVDSTPORT socket option, which enables us to get originalYASUOKA Masahiko
(= before divert) destination port of a UDP packet. The way to use this option is same as IP_RECVDSTPORT. from UMEZAWA Takeshi tweaks from jmc; ok henning bluhm
2012-09-17Whitespace change (excess indentation).Bret Lambert
ok claudio@
2012-09-17Recognize executables tagged with ELFOSABI_OPENBSD (such as generatedMatthew Dempsky
by the Go linker) as native executables even if they don't contain an OpenBSD PT_NOTE segment. Confirmed to fix Go by sthen ok kettenis, deraadt
2012-09-17Bit field name was confused. Not MCS08 but MCS09.YASUOKA Masahiko
diff from Masanobu SAITOH. ok jsg
2012-09-17Fix indent white spaces.Alexander Bluhm
2012-09-17fix uninitialized pointer in ffs_write(); ok guenther, beck, deraadtMarkus Friedl
2012-09-17add sensor category and moved some devices to the category.Yojiro Uo
2012-09-17regenYojiro Uo
2012-09-17add Toradex productsYojiro Uo
2012-09-15Adapt ieee.h, gdtoa and libc to the fact that we don't have 80-bitMartynas Venckus
floats on m88k. Agreed by miod@.
2012-09-15m88k does not have the m68k long double type actually (long double == doubleMiod Vallat
on this platform), so don't pretend it does, and don't build long double libm routines.
2012-09-15Improve POSIX/SUS compliance of <netdb.h>, <sys/socket.h>, and <sys/un.h>.Philip Guenthe
Much ports testing of various versions by naddy@ and jasper@ ok matthew@, miller@
2012-09-13tell mii_attach where the phy is on the chip, rather than asking it toDavid Gwynne
probe every address and have bge_miibus_read fail at the wrong address. needed to support recent chips which have phys in locations other than phy address 1 (and removes a conditional in an io path).
2012-09-13regenjoshua stein
2012-09-13recognize the Intel Centrino Advanced-N 6235joshua stein
2012-09-12match on another axis AX88772B that comes with the asus ux21/ux31ajoshua stein
2012-09-12regenjoshua stein
2012-09-12add another ASIX AX88772B devicejoshua stein
2012-09-12Define empty CDIAGFLAGS for programs that use Werror.Christiano F. Haesbaert
Makes "make build" build with WARNINGS=Yes on amd64. ok espie
2012-09-12Use sg_addr instead of sg_lo_addr, leftovers from last commit.Christiano F. Haesbaert
ok dlg
2012-09-12Make sure we don't sleep on autoconf.Christiano F. Haesbaert
ok mikeb
2012-09-11Cope with PIE, if it is enabled. Note that this has not been completelyTheo de Raadt
tested, but it is time to get it in at least.
2012-09-11Cope with PIE, if it is enabledTheo de Raadt
2012-09-11Support FTDI FT2232H. This has a new base clock rate, different divisor,Theo de Raadt
and the buffersizes are now taken from the endpoint descriptors. From Raphael Graf
2012-09-11Add -nopie to the linker flags.Mark Kettenis
2012-09-11Remove the 'OLF method' used for the transition from a.out to ELF andTheo de Raadt
for all the compat layers which are now gone. Linux compat still works because it always used another method in any case, and nothing looks at p_os anymore. ok jsing
2012-09-11Check that the host supports GET_SPEED as well as GET_VERSION before decidingDarren Tucker
vmt_probe has succeeded. qemu supports GET_VERSION but not the RPC protocol so the probe succeeds but the attach fails, resulting in "vmt0: failed to open backdoor RPC channel (TCLO protocol)". All known versions of vmware support GET_SPEED and no known qemu versions do, so this prevents it from attempting to attach (and failing) on qemu while still working on vmware. with & ok jmatthew@ dlg@
2012-09-10Cleanup VFS mount string handling:Joel Sing
- Avoid using copyinstr() without checking the return value. - sys_mount() has already copied the path in, so pass this to the filesystem mount code so that it does not have to copy it in again. - Avoid copyinstr()/bzero() dance when we can simply bzero() and strlcpy(). ok krw@
2012-09-10autoconf is not the right place to sleep; noticed by haesbaertMike Belopuhov
2012-09-10drop the unencrypted packets when the MPPE is required. This wasYASUOKA Masahiko
missing on IPv6 path only. From brad
2012-09-10add missing the congestion indicator code on IPv6 path.YASUOKA Masahiko
From brad
2012-09-10Bring into compliance with POSIX, exposing just the specified bits.Philip Guenthe
Requested by jasper@, ok kettenis@
2012-09-10syncTheo de Raadt
2012-09-10compat_o48_sys_getdirentries can die; ok guentherTheo de Raadt
2012-09-10delete compat_o48_sys_getdirentries; ok guentherTheo de Raadt
2012-09-08Switch landisk to timecounters. Adapted from NetBSD.Miod Vallat
2012-09-08On SPARC64 VI/VII CPUs, use the lseep instruction in the idle loop to force aMark Kettenis
thread switch in the hope the other thread can do some useful work.
2012-09-08Switch hp300 to timecounters. From NetBSD via martin@Miod Vallat
2012-09-08Don't use mtrr if we are not on i386/amd64.Martin Pieuchot
ok kettenis@
2012-09-08Instead of having yet an other option to compile the drm code without agpMartin Pieuchot
support, wrap all the agp glue with 'if __OS_HAS_AGP' in such form that it is true if the agp(4) driver is present. ok kettenis@
2012-09-08Include files.agp to be able to check against NAGP in the drm agp glue.Martin Pieuchot
2012-09-08Plug a race where we're trying to kill a traced process while it is aleadyMark Kettenis
exiting. At that point ps_single may point to a proc that's already freed. Since there is no point in killing a process that's already exiting, just skip this step. ok guenther@
2012-09-07bump CPU feature strings to 12 chars since some names are now 8 charactersChristian Weisgerber
long, leaving no space for a trailing NUL; ok kettenis@
2012-09-07Call pci_min_powerstate() to determine the lowest possible powerstate insteadMark Kettenis
of hardcoding it to D3.
2012-09-07Implement pci_min_powerstate().Mark Kettenis
2012-09-07Implement pci_min_powerstate().Mark Kettenis
2012-09-07Add a new function called acpi_pci_min_powerstate() that returns the lowestMark Kettenis
power state for a PCI device for the power state (currently S3 or S4) we're transitioning into. This function is probably too simplistic; there is a lot of (silly) complexity in the ACPI spec. ok deraadt@
2012-09-07Fixup a memory access fault on an invalid reply. Quoting the spec:Mike Belopuhov
The host driver must ensure that there is at least one unused entry in the Reply Free Queue. One way to ensure that this requirement is met is to never allocate a number of reply frames that is a multiple of 16. So bring back the old logic of calculating the RFQ depth and add a comment explaining why is it done. Duh!
2012-09-07Create IPv6 privacy addresses even if static IPv6 addresses are present.Stefan Sperling
Restores the ability to use privacy addresses for outgoing connections and static addresses for incoming connections, which was broken by r1.62. ok sperreault@
2012-09-06remove compat_aout support for i386. ok deraadtTed Unangst
miod has requested a stay of execution for compat_aout in general.