summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Since we grew struct xtty, t_dev doesn't have to be schizofrenic anymore.phk2004-06-231-6/+1
|
* - Remove unused definitions.alc2004-06-232-10/+4
| | | | - Move a definition inside the scope of a #ifdef _KERNEL.
* MFamd64: Document the machdep.hlt_cpus sysctl MIB variable.bms2004-06-231-1/+2
| | | | | PR: i386/65729 Submitted by: Craig Rodrigues
* Include <sys/mutex.h> and its prerequisite <sys/lock.h> instead ofbde2004-06-231-10/+11
| | | | | | | | | depending on namespace pollution in <sys/vnode.h> for the definition of mutex interfaces used in SOCKBUF_*LOCK(). Sorted includes. Removed unused includes.
* Include <sys/mutex.h> and its prerequisite <sys/lock.h> instead ofbde2004-06-231-2/+4
| | | | | | | depending on namespace pollution in <sys/vnode.h> for the definition of GIANT_REQUIRED. Sorted includes.
* Implement the protection check required by the pmap_extract_and_hold()alc2004-06-231-8/+24
| | | | specification. This enables the elimination of Giant from that function.
* Avoid calling bpf_filter() with len == 0, which causes a change in semanticsarchie2004-06-231-1/+4
| | | | | | | (it treats the buffer pointer as an mbuf pointer) and subsequent panic. MFC after: 3 days Reported by: Tony Hariman <tony@cbn.net.id>
* Add required includes for post-sorwakeup() change to fix FAST_IPSECbms2004-06-231-0/+2
| | | | compilation.
* Remove unlocked read annotation for sbspace(); the read is locked.rwatson2004-06-231-1/+0
|
* Fix an inconsistency in socket option propagation on accept(). Propagatebms2004-06-221-0/+1
| | | | | | | | | | | | | | | | | | | the SS_NBIO flag from the parent socket to the child socket during an accept() operation. The file descriptor O_NONBLOCK flag would have been propagated already by the fflag assignment, and therefore would have been inconsistent with the underlying socket's so_state member. This makes accept() more closely adhere to the API contract we effectively outline in the manual page. Note also that Linux continues to differ here; O_NONBLOCK is not propagated. The other BSDs do propagate the flag, as does Solaris. The Single UNIX Specification does not offer specific advice on this issue. PR: kern/45733 Requested by: Jayanth Vijayaraghavan Reviewed by: rwatson
* Enable 'vinum' on AMD64.obrien2004-06-221-5/+1
|
* Reset the update flag when scanning for new devices.ps2004-06-221-0/+1
|
* Throw out pfsync and pflog, the modules were removedbrueffer2004-06-221-2/+0
|
* Correct a misleading comment regarding the IPSEC_FILTERGIF option.bms2004-06-221-3/+2
| | | | | PR: 57125 Requested by: Adrian Steinmann
* Update the copyright to use a 3 clause BSD license rather than one thatjhb2004-06-221-10/+24
| | | | | | is less clear about allowing redistribution of modified copies. Requested by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com
* Remove a bogus increment of %di when scanning the list of loader paths.jhb2004-06-221-1/+0
| | | | | | | %di will already point to the character after the nul char when the 'repnz scasb' terminates. Submitted by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com
* Improve source-code compatibility with Linux applications using thebms2004-06-221-0/+3
| | | | | | | IPX stack. PR: kern/65217 Submitted by: Radim Kolar
* Remove the TIOCDCDTIMESTAMP option.phk2004-06-226-62/+1
| | | | | The RFC-2783 PPS-API (<sys/timepps.h>) provides better and more configurable service.
* Fix a few spelling mistakes in comments and clean them up a bit.le2004-06-221-5/+5
|
* Bump FreeBSD_version for if_clone overhaul.brooks2004-06-221-1/+1
|
* Major overhaul of pseudo-interface cloning. Highlights include:brooks2004-06-2217-310/+794
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Split the code out into if_clone.[ch]. - Locked struct if_clone. [1] - Add a per-cloner match function rather then simply matching names of the form <name><unit> and <name>. - Use the match function to allow creation of <interface>.<tag> vlan interfaces. The old way is preserved unchanged! - Also the match function to allow creation of stf(4) interfaces named stf0, stf, or 6to4. This is the only major user visible change in that "ifconfig stf" creates the interface stf rather then stf0 and does not print "stf0" to stdout. - Allow destroy functions to fail so they can refuse to delete interfaces. Currently, we forbid the deletion of interfaces which were created in the init function, particularly lo0, pflog0, and pfsync0. In the case of lo0 this was a panic implementation so it does not count as a user visiable change. :-) - Since most interfaces do not need the new functionality, an family of wrapper functions, ifc_simple_*(), were created to wrap old style cloner functions. - The IF_CLONE_INITIALIZER macro is replaced with a new incompatible IFC_CLONE_INITIALIZER and ifc_simple consumers use IFC_SIMPLE_DECLARE instead. Submitted by: Maurycy Pawlowski-Wieronski <maurycy at fouk.org> [1] Reviewed by: andre, mlaier Discussed on: net
* Implement the protection check required by the pmap_extract_and_hold()alc2004-06-221-8/+24
| | | | | | specification. This enables the elimination of Giant from that function. Reviewed by: tegge@
* Fix a problem with multiple-delivery (i.e. broadcast) in ng_bridge.green2004-06-221-3/+5
| | | | | | | | | Only the first link0..link$NLINKS hooks would be utilized, whereas the link hooks may be connected sparsely. Add a counter variable so that the link hook array is only traversed while there is still work to do, but that it continues up to the end if it has to.
* No need to free the softc, because it wasn't allocated.le2004-06-221-1/+0
|
* Use the maximum physical bus when rescanning those targets. Thisps2004-06-221-1/+1
| | | | fixes a panic on cards which do not have any drives attached.
* Fix a paste-o in key_cmpspidx_withmask().bms2004-06-221-2/+2
| | | | | PR: misc/67013 Submitted by: Zhenmin <zli4@cs.uiuc.edu>
* Adjust the system endian and a.out headers to be more MI and cross-buildingobrien2004-06-221-18/+20
| | | | | | friendly. Use the systems headers rather than local versions. Reviewed by: ru
* Don't sleep in the g_down path. More error checks to come.le2004-06-221-9/+27
|
* Merged from sys/dev/sio/sio.c revisions 1.439 and 1.440.nyan2004-06-222-102/+230
|
* MFi386: revision 1.592.nyan2004-06-222-50/+14
|
* Use the right ordering of args on mtx_init(). No functional changessos2004-06-226-6/+6
| | | | | | since the args in question was all zero's. Found by: Jimmy Olgeni <olgeni@FreeBSD.org>
* Fix typos and add spaces before `(' in some commentsbrueffer2004-06-221-3/+3
| | | | | | Submitted by: markus Approved by: njl MFC after: 3 days
* Catch up with g_dev_open() changes and pass over the current threadle2004-06-221-1/+1
| | | | | | pointer. Submitted by: cperciva
* revert section of code that calls netisr_queue() to match v1.33 of this filedarrenr2004-06-221-15/+1
|
* #ifdef's for FreeBSD are wrong, causing too many variable declaractions todarrenr2004-06-221-2/+3
| | | | disappear.
* Regenerate after updating syscalls.master.rwatson2004-06-225-6/+6
|
* Mark unlink() as MPSAFE as we now acquire Giant in the unlink()rwatson2004-06-221-1/+1
| | | | system call.
* Acquire Giant in link() so that the system call can be markedrwatson2004-06-222-2/+10
| | | | | | MPSAFE. Don't want to acquire Giant in kern_link() sync linux compat code performs actions requiring Giant prior to calling kern_link().
* Rebuild following marking link() as MPSAFE.rwatson2004-06-225-6/+6
|
* Mark link() system call as MPSAFE.rwatson2004-06-221-1/+1
|
* Acquire Giant in link() so that we can mark it as MSTD inrwatson2004-06-222-2/+10
| | | | | | syscalls.master. Don't want to do it in kern_link() since the Linux emulation code calls kern_link() after performing other actions requiring Giant.
* Mark linux_emul_convpath() as GIANT_REQUIRED.rwatson2004-06-221-0/+2
|
* Acquire socket lock around frobbing of socket state in divert sockets.rwatson2004-06-221-0/+2
|
* Prefer use of the inpcb as a MAC label source for outgoing packets sentrwatson2004-06-221-6/+8
| | | | via divert sockets, when available.
* Remove spl's from uipc_socket to ease in merging.rwatson2004-06-221-40/+8
|
* one too many #endif's from the update broke the builddarrenr2004-06-221-1/+0
|
* Fix another typo in the previous commit.scottl2004-06-211-1/+1
|
* Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES.phk2004-06-2116-2/+73
|
* on media exchange, update/rescan the drives. This allows a volumeps2004-06-211-0/+4
| | | | in a failed stated to come back on-line without a reboot.
* Update ipfilter from 3.4.31 -> 3.4.35. Some important changes:darrenr2004-06-2116-392/+692
| | | | | | | | | | | | | | | * block packets that fail to create state table entries * only allow non-fragmented packets to influence whether or not a logged packet is the same as the one logged before. * correct the ICMP packet checksum fixing up when processing ICMP errors for NAT * implement a maximum for the number of entries in the NAT table (NAT_TABLE_MAX and ipf_nattable_max) * frsynclist() wasn't paying attention to all the places where interface names are, like it should. * fix comparing ICMP packets with established TCP state where only 8 bytes of header are returned in the ICMP error. MFC after: 1 week
OpenPOWER on IntegriCloud