| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
not be properly propagated across some mbuf copy operations.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
| |
|
|
|
|
|
|
|
| |
that we are at FreeBSD 5.10
Reminded by: everybody
Guaranteed not to break world by: imp
|
|
|
|
|
|
|
| |
Fix a few but probably not all style bugs.
Suggested by: bde
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
allow a file descriptor table to be shared between multiple process
leaders.
PR: 50923
|
|
|
|
| |
should occur.
|
|
|
|
| |
Reviewed by: nyan
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
No actual bug with the existing code, just tidying things up.
Submitted by: hmp
|
| |
|
| |
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
|
| |
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 "##".
|
| |
|
|
|
|
|
|
| |
Clarify that the implicit fallthrough was *not* intentional (thanks, Poul!)
and reorganize the code so a correct fallthrough (with /* FALLTHROUGH */)
occurs.
|
| |
|
|
|
|
|
| |
(&kmem_object_store), respectively. This allows the address of these
objects to be resolved at link-time rather than run-time.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
to mark a fully specified static link as dynamic; i.e. make
it a one-time link.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
effort at the expense of making miidevs.h a dependency for very .o.
Requested by: imp
|
|
|
|
| |
Reviewed by: Bruce M Simpson <bms@spc.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
The mixer works, pcm support is half done.
|
|
|
|
|
|
| |
Add XXX comment where intent is unclear.
Found by: FlexeLint
|
| |
|
|
|
|
| |
Found by: FlexeLint
|
|
|
|
| |
Found by: FlexeLint
|
| |
|
|
|
|
| |
is set.
|
|
|
|
|
|
|
| |
Remove break after return.
Add XXX comment where intent is unclear.
Found by: FlexeLint
|
| |
|
|
|
|
| |
Found by: FlexeLint
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|