summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adds support for the SCTP_PORT_REUSE optionrrs2008-07-317-110/+330
| | | | | | Fixes a refcount bug found in the process Obtained from: With the help of Michael Tuexen
* Further synchronization of copyrights, licenses, white space, etc fromrwatson2008-07-3113-18/+17
| | | | | | | Apple and from the OpenBSM vendor tree. Obtained from: Apple Inc., TrustedBSD Project MFC after: 3 days
* Cleanup for WARNS 2.marcel2008-07-314-4/+3
|
* Eliminate recomputation of the PDE by pmap_pde_attr().alc2008-07-311-5/+2
|
* Fix LINTemax2008-07-311-0/+1
| | | | MFC after: 3 months
* Data type fixjfv2008-07-311-2/+2
|
* Unbreak the build by creating opt_nfs.hps2008-07-311-1/+1
|
* Unbreak the build by including sys/socketvar.hps2008-07-314-3/+7
|
* Add a -q[uiet] flag for scripts.obrien2008-07-312-4/+12
|
* Include netinet/tcp_lro.h, unbreak the buildps2008-07-301-1/+1
|
* Hook up Bluetooth SCO sockets code to the buildemax2008-07-301-1/+2
| | | | MFC after: 3 months
* Introduce support for Bluetooth SCO sockets. This is based on olderemax2008-07-303-1/+2132
| | | | | | code that was revisted. MFC after: 3 months
* Add igb driver to the default kerneljfv2008-07-301-1/+2
|
* Add igb to the default kerneljfv2008-07-301-1/+2
| | | | MFC after:ASAP
* Change Makefile to reflect new directory structurejfv2008-07-301-3/+5
| | | | MFC after:ASAP
* Change to build module with new directory treejfv2008-07-301-10/+4
| | | | MFC after:ASAP
* Alter kernel build to work with new dev/e1000 structure.jfv2008-07-301-32/+32
| | | | | | | This makes both em and igb, or either alone build and work in the static kernel. MFC after:ASAP
* Merge of the source for igb and em into dev/e1000, thisjfv2008-07-3050-10133/+1420
| | | | | | | | | | | proved to be necessary to make the static drivers work in EITHER/OR or BOTH configurations. Modules will still build in sys/modules/igb or em as before. This also updates the igb driver for support for the 82576 adapter, adds shared code fixes, and etc.... MFC after: ASAP
* One more whitespace nit.jhb2008-07-301-2/+0
|
* Add a regression test for r181017.stefanf2008-07-301-0/+4
| | | | Submitted by: simon
* Add POSIX -p flag to make(1).ed2008-07-302-4/+19
| | | | | | | | | | | | | | | | This article [1] describes the -p flag for make(1): Write to standard output the complete set of macro definitions and target descriptions. The output format is unspecified. We already support a similar flag (-d g1), but unlike -p, it still executes commands. Our implementation just turns it into -d g1, but also sets flag `printGraphOnly', which will cause make(1) to skip execution. [1] http://www.opengroup.org/onlinepubs/009695399/utilities/make.html Reviewed by: imp PR: standards/99960
* A few more whitespace fixes.jhb2008-07-302-2/+1
|
* If the kernel has run out of metadata for swap, then explicitly panic()jhb2008-07-301-1/+1
| | | | | | instead of emitting a warning before deadlocking. MFC after: 1 month
* Whitespace tweak.jhb2008-07-301-1/+0
|
* Pass the correct flags to expandarg() for NFROMFD and NTOFD. This fixes astefanf2008-07-301-1/+1
| | | | | | | segmentation fault when the argument expands to an empty string. Reported by: simon MFC after: 3 weeks
* Trim some noise from some #ifdef's. This had leaked into the compat32jhb2008-07-302-2/+2
| | | | | | | support for bpf(4) due to hacks in the Y! tree for a truss32 binary (since superseded by native support for 32-bit binaries in truss itself). MFC after: 1 week
* fix includes for post sockbuf re-factorkmacy2008-07-305-142/+12
|
* Use single byte read and write operations to toggle the BIOS and OSjhb2008-07-302-14/+14
| | | | | | semaphores rather than 4 byte operations. MFC after: 1 month
* The original adduser/rmuser scripts in Perl used to modify the PATHjhb2008-07-301-2/+3
| | | | | | | | | | | setting. When the scripts were converted to Bourne shell, this was removed. The adduser script was changed to use an explicit path for the pw(8) command so that /usr/sbin did not have to be in the user's PATH. The rmuser script continued to assume that /usr/sbin was in the user's path, however. This fixes the rmuser script to use an explicit path for pw(8) similar to adduser. MFC after: 2 weeks
* The behaviour of the lockmgr going back at least to the 4.4BSD-Lite2 waskib2008-07-301-2/+9
| | | | | | | | | | | | | | | | | | to downgrade the exclusive lock to shared one when exclusive lock owner requested shared lock. New lockmgr panics instead. The vnode_pager_lock function requests shared lock on the vnode backing the OBJT_VNODE, and can be called when the current thread already holds an exlcusive lock on the vnode. For instance, it happens when handling page fault from the VOP_WRITE() uiomove that writes to the file, with the faulted in page fetched from the vm object backed by the same file. We then get the situation described above. Verify whether the vnode is already exclusively locked by the curthread and request recursed exclusive vnode lock instead of shared, if true. Reported by: gallatin Discussed with: attilio
* This updates the ixgbe driver to Intel internal version 1.4.7jfv2008-07-3010-423/+396
| | | | | | Shared code changes, core driver fixes, vlan event/filter support Also Kip Macy's fix to allow any number of queues, thanks Kip!
* Set all of the "optimum performance" PHY registers for the 15D parts asjhb2008-07-301-10/+8
| | | | | | | | | well as the 15C since it seems to be required in practice. The Linux natsemi.c driver mostly does this as well. PR: kern/112179 Submitted by: Mark Willson mark - hydrus org uk MFC after: 1 week
* SIS_SETBIT() already does a read/modify/write operation, so there isn'tjhb2008-07-301-2/+1
| | | | | | a reason to read the register twice. MFC after: 1 week
* correct description of how to clear a desired channelsam2008-07-301-6/+4
| | | | | Pointed out by: Chris Buechler MFC after: 1 week
* According to a proposed Norwegian standard for alphabetization of whichdes2008-07-302-8/+12
| | | | | | | | I've obtained a draft, <u:> is indeed equivalent to u (to my surprise), and <th> sorts immediately after z. The correct ordering is algorithmic (based on the EOR) and can not be accurately represented as a table.
* Remove the use of lbolt from the VFS syncer.ed2008-07-301-9/+7
| | | | | | | | | | | | | | It seems we only use `lbolt' inside the VFS syncer and the TTY layer now. Because I'm planning to replace the TTY layer next month, there's no reason to keep `lbolt' if it's only used in a single thread inside the kernel. Because the syncer code wanted to wake up the syncer thread before the timeout, it called sleepq_remove(). Because we now just use a condvar(9) with a timeout value of `hz', we can wake it up using cv_broadcast() without waking up any unrelated threads. Reviewed by: phk
* Don't make subr_clist.c depend on the TTY layer.ed2008-07-301-5/+6
| | | | | | | | | | | After the import of the new TTY layer, the TTY_QUOTE definition will not be present anymore. To make sure clists will still work as expected, introduce an internal definition called QUOTEMASK. Maybe we can decide to remove the quote bits entirely, but we still have to look into this. There may be drivers that still use the quote bits. Obtained from: //depot/projects/mpsafetty
* Update routed to use the RFC 3678 protocol-independent multicast API. Usephk2008-07-305-118/+66
| | | | | | | | IP_MULTICAST_IF with struct ip_mreqn (obtained from Linux) to tell the stack which interface index to use for sending IPv4 datagrams. Submitted by: bms Tested by: phk
* Bring back the save/restore of the %ds, %es, %fs and %gs registers forkib2008-07-305-20/+33
| | | | | | | | | | | | | | | the 32bit images on amd64. Change the semantic of the PCB_32BIT pcb flag to request the context switch code to operate on the segment registers. Its previous meaning of saving or restoring the %gs base offset is assigned to the new PCB_GS32BIT flag. FreeBSD 32bit image activator sets the PCB_32BIT flag, while Linux 32bit emulation sets PCB_32BIT | PCB_GS32BIT. Reviewed by: peter MFC after: 2 weeks
* Adopt the slightly weaker consistency locking approach used in IPv4 rawrwatson2008-07-301-7/+3
| | | | | | | | | | | sockets for IPv6 raw sockets: separately lock the inpcb for determining the destination address for a connect()'d raw socket at the rip6_send() layer, and then re-acquire the inpcb lock in the rip6_output() layer to query other options on the socket. Previously, the global raw IP socket lock was used, which while correct and marginally more consistent, could add significantly to global raw IP socket lock contention. MFC after: 1 week
* Fix alignment of the cmsg buffer by placing it in a union with a structdes2008-07-301-6/+12
| | | | | | | cmsghdr. Derived from upstream patch. Submitted by: cognet MFC after: 2 weeks
* MfP4: Preserve permissions by default.kientzle2008-07-301-0/+1
| | | | | | | | | | | | | | | | | | In particular, this fixes the oddity that -dumpl would apply umask to copied dirs (which are created in the target tree) but not to "copied" files (which are only linked). After this change: $ ls -ld a a/b a/b/c d--x-w-r-- 3 tim tim 512 Jul 29 20:08 a drwxr----x 3 tim tim 512 Jul 29 20:09 a/b dr----x-w- 2 tim tim 512 Jul 29 20:09 a/b/c $ (echo a; echo a/b; echo a/b/c) | cpio -dumpl o $ cd o $ ls -ld a a/b a/b/c d--x-w-r-- 3 tim tim 512 Jul 29 20:08 a drwxr----x 3 tim tim 512 Jul 29 20:09 a/b dr----x-w- 2 tim tim 512 Jul 29 20:09 a/b/c
* style(9) specifies that case statements are not indented.scf2008-07-301-1/+1
|
* Add my entry with a pointer to garga (mentor)rnoland2008-07-301-0/+2
| | | | Approved by: garga (mentor)
* Change the type of psaddr_t from void* to uintptr_t. A pointermarcel2008-07-306-28/+26
| | | | | type cannot be made wider to allow ILP32 platforms to target LP64 platforms.
* Unbreak build.yongari2008-07-301-2/+0
| | | | Remove nfe(4). The driver applies to i386/amd64 only.
* Free the correct buffer list on failure.thompsa2008-07-302-2/+2
|
* Clarify which route property routed(8) looks at.phk2008-07-291-1/+1
|
* remove redundant ifdef ... lolkmacy2008-07-291-2/+0
|
* fix build by forward declaring thread and hiding socket buffer definitions ↵kmacy2008-07-291-3/+6
| | | | from user code
OpenPOWER on IntegriCloud