summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Also implement mpo_copy_mbuf_label() for mac_lomac, or labels mayrwatson2003-06-021-0/+1
| | | | | | | not be properly propagated across some mbuf copy operations. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Document new (starting with 5.x) __FreeBSD_version scheme.obrien2003-06-021-0/+2
|
* Oops, __FreeBSD_version should be 501100, not 510100. The former impliesscottl2003-06-021-1/+1
| | | | | | | that we are at FreeBSD 5.10 Reminded by: everybody Guaranteed not to break world by: imp
* s/u_short/unsigned short/ to make this compile if _POSIX_C_SOURCE=200112schweikh2003-06-021-19/+19
| | | | | | | Fix a few but probably not all style bugs. Suggested by: bde MFC after: 2 weeks
* Use mac_biba_label_copy() and mac_mls_label_copy() to implement therwatson2003-06-022-0/+2
| | | | | | | | | | mpo_copy_mbuf_label() entry point for Biba and MLS, respectively. Otherwise, labels in m_tags may not be properly propagated across some classes of mbuf operations. This problem caused these policies to fail-stop the system with a panic. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Use __FBSDID().obrien2003-06-023-9/+9
|
* Use __FBSDID().obrien2003-06-027-12/+20
|
* Use __FBSDID().obrien2003-06-0241-84/+130
|
* Add tracking of process leaders sharing a file descriptor table andtegge2003-06-025-19/+256
| | | | | | | allow a file descriptor table to be shared between multiple process leaders. PR: 50923
* Fix a typo in an ATM media name. As this name was not use yet, no problemsharti2003-06-021-1/+1
| | | | should occur.
* Remove unused #ifdef BRIDGE.maxim2003-06-021-5/+0
| | | | Reviewed by: nyan
* Use __FBSDID().obrien2003-06-0219-32/+57
|
* Use __FBSDID().obrien2003-06-0240-40/+120
|
* Use __FBSDID().obrien2003-06-024-8/+12
|
* Use __FBSDID().obrien2003-06-026-11/+17
|
* MFi386: i386/include/asm.h rev 1.11: Do not abuse ##.peter2003-06-021-1/+1
|
* Replace if_fxp's handrolled defrag function with m_defrag.silby2003-06-021-14/+3
| | | | | | No actual bug with the existing code, just tidying things up. Submitted by: hmp
* Bump __FreeBSD_version to 510100 for 5.1-CURRENTscottl2003-06-021-1/+1
|
* We are at 5.1-CURRENT nowscottl2003-06-021-1/+1
|
* Fix a style nit.obrien2003-06-021-1/+1
| | | | Submitted by: ru
* Don't use ## to concatinate to two things that don't together make a C token.obrien2003-06-021-1/+1
| | | | | | Two tokens that don't together form a vaid preprocssor token cannot be pasted together using ANSI-C token concatinatation. GCC 3.2's cpp, at least, produces the desired result w/o using "##".
* Don't use a C compiler to assemble a pure asm file.obrien2003-06-021-2/+5
|
* Check in some months long pending minor debug output changes.mjacob2003-06-021-26/+47
| | | | | | Clarify that the implicit fallthrough was *not* intentional (thanks, Poul!) and reorganize the code so a correct fallthrough (with /* FALLTHROUGH */) occurs.
* Use C99 compatable asm statements.obrien2003-06-022-4/+4
|
* Change kernel_object and kmem_object to (&kernel_object_store) andalc2003-06-012-8/+8
| | | | | (&kmem_object_store), respectively. This allows the address of these objects to be resolved at link-time rather than run-time.
* Improve set_mcontext:marcel2003-06-011-0/+5
| | | | | | o Don't copy psr verbatim from the user supplied context. Only allow userland to change the processor settings that are part of the user mask.
* Improve on cpu_set_upcall:marcel2003-06-011-13/+13
| | | | | | | | | | | | o Use pcb and tf for the new pcb and the new trapframe and use pcb0 for the old (current) pcb. The mix of pcb, pcb2 and tf was slightly confusing. o Don't define td->td_frame here. It has already been set previously by cpu_thread_setup. Add a KASSERT to make sure pcb and tf are both non-NULL. o Make sure the number of dirty registers is 0 for the new thread. There are no user registers on the backing store because we heven't enter userland yet.
* A new API function PacketAliasRedirectDynamic() can be usedru2003-06-013-1/+36
| | | | | to mark a fully specified static link as dynamic; i.e. make it a one-time link.
* Make the PacketAliasSetAddress() function call optional. If itru2003-06-012-11/+18
| | | | | | is not called, and no static rules match an outgoing packet, the latter retains its source IP address. This is in support of the "static NAT only" mode.
* Change a :mux2003-06-012-2/+2
| | | | | | | | | | | bzero(ptr, sizeof(DC_RXLEN * 5)); which should obviously be: bzero(ptr, DC_RXLEN * 5); Looks like this bug may have reduced the effectiveness of the workaround for the hardware bug in the PNIC chips. MFC after: 1 week
* Be sloppier about the miidevs.h dependency. This reduces the maintenanceobrien2003-06-011-7/+1
| | | | | | effort at the expense of making miidevs.h a dependency for very .o. Requested by: imp
* Accpet '1'..'5' in place of F1..F5 for serial console users.obrien2003-06-011-3/+5
| | | | Reviewed by: Bruce M Simpson <bms@spc.org>
* Shorten long comment.obrien2003-06-011-1/+1
|
* Sync with i386/GENERIC ordering.obrien2003-06-011-18/+20
|
* - Style(9) fixes, most notably :mux2003-06-012-1070/+730
| | | | | | | | | | | | | o Remove register keyword o ANSIfy prototypes o Remove "return;" at the end of void functions o Remove trailing spaces o Don't align local variables with tabs and reorder them o Don't use /* FOO */ at the end of a #ifdef FOO block if it's a small block - Other non-functional changes : o 6 -> ETHER_ADDR_LEN o Don't initialize if_output; ether_ifattach() does it for us
* Restore parentheses removed inappropriately in last commit.mjacob2003-06-011-2/+3
|
* Simplify the GEOM OAM api: Drop the request type, and let everythingphk2003-06-017-432/+289
| | | | | | | | hinge on the "verb" parameter which the class gets to interpret as it sees fit. Move the entire request into the kernel and move changed parameters back when done.
* constify g_sanity()phk2003-06-012-2/+2
|
* Add (but do not connect) a half-finished driver for Aureal Vortex cards.des2003-06-013-0/+820
| | | | The mixer works, pcm support is half done.
* Remove break after return.phk2003-06-011-1/+1
| | | | | | Add XXX comment where intent is unclear. Found by: FlexeLint
* Remove #include <sys/disklabel.h>phk2003-06-012-2/+0
|
* Don't leak "barlist" allocation on failure.phk2003-06-011-0/+4
| | | | Found by: FlexeLint
* Remove unused variables.phk2003-06-011-15/+3
| | | | Found by: FlexeLint
* Use bcmp() to compare hash strings.phk2003-06-011-1/+1
|
* Don't unlock the parent directory vnode twice if the ISDOTDOT flagtruckman2003-06-011-1/+2
| | | | is set.
* Remove unused variables.phk2003-06-011-11/+1
| | | | | | | Remove break after return. Add XXX comment where intent is unclear. Found by: FlexeLint
* Make "where" an alias for "trace"phk2003-06-011-0/+1
|
* Add /* FALLTHROUGH */phk2003-06-011-0/+4
| | | | Found by: FlexeLint
* Implement cpu_thread_setup(). This is mostly the same as on i386,marcel2003-06-011-0/+8
| | | | | | | except for the fact that trapframes have a size recorded in it that we set here too. We need this for proper thread setup. Pointed out by: mtm
* Fix up locking problems in fifo_open() and fifo_close():truckman2003-06-011-25/+73
| | | | | | | | | | | | | | | | | | | | | Sleep on the vnode interlock while waiting for another caller to increment fi_readers or fi_writers. Hold the vnode interlock while incrementing fi_readers or fi_writers to prevent a wakeup from being missed. Only access fi_readers and fi_writers while holding the vnode lock. Previously fifo_close() decremented their values without holding a lock. Move resource deallocation from fifo_close() to fifo_inactive(), which allows the VOP_CLOSE() call in the error return path in fifo_open() to be removed. Fifo_open() was calling VOP_CLOSE() with the vnode lock held, in violation the current vnode locking API. Also the way fifo_close() used vrefcnt() to decide whether to deallocate resources was bogus according to comments in the vrefcnt() implementation. Reviewed by: bde
OpenPOWER on IntegriCloud