| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
we can use the names _receive() and _send() for the receive() and send()
checks. Rename related constants, policy implementations, etc.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we can use the names _receive() and _send() for the receive() and send()
checks. Rename related constants, policy implementations, etc.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
MFC after:
|
|
|
|
|
|
| |
rather than immediately returning, or we may not unlock necessary locks.
Noticed by: Mike Heffner <mheffner@acm.vt.edu>
|
|
|
|
|
|
| |
Follow-on to rev 1.39.
Reviewed by: jayanth, Thomas R Henderson <thomas.r.henderson@boeing.com>, silby, dillon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a pipe or queue has the "noerror" attribute, do not report
drops to the caller (ip_output() and friends).
(2 lines to implement it, 2 lines to document it.)
This will let you simulate losses on the sender side as if they
happened in the middle of the network, i.e. with no explicit feedback
to the sender.
manpage and ipfw2.c changes to follow shortly, together with other
ipfw2 changes.
Requested by: silby
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
handling, rather than returning directly to prevent leaking of vnode
reference/lock.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
| |
all structures in ip_var.h are defined, so remove include of mac.h.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
|
| |
satisfy consumers of ip_var.h that need a complete definition of
struct ipq and don't include mac.h.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
|
| |
is no longer present.
Pointed out by: bmilekic
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
|
|
| |
type of the 'flags' argument m_getcl() was using anyway; m_extadd()
needed to be changed to accept an int instead of a short for 'flags.'
This makes things more consistent and also gives us more bits to
use for m_flags in the future (we have almost run out).
Requested by: sam (Sam Leffler)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Define some basic firmware downloading commands.
|
|
|
|
| |
This makes truss work on sparc64.
|
|
|
|
| |
have any reason to; force alternat globals instead, which is what we want.
|
|
|
|
|
| |
Find the prom node for the boot cpu earlier and store it in the per-cpu
area, so that cache_init can be called earlier.
|
|
|
|
|
|
|
|
|
|
| |
elimiates the driver lockup problem reported by many.
Concepts used were taken from Via's if_fet driver. Verification
and implementation were done by Thomas Nystrom.
Submitted by: Thomas Nystrom <thn@saeab.se>
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
| |
during a label change resulting in an mmap removal. This is "fail stop"
behavior, which is preferred, although it offers slightly less
transparency.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
| |
|
|
|
|
|
|
| |
Significantly de-obfuscate udf_lookup
Inspired By: tes@sgi.com
|
|
|
|
|
|
| |
the BSS (so that it can be binary-patched).
Inspired by: bde
|
|
|
|
|
|
| |
it's const.
Inspired by: bde
|
|
|
|
| |
Inspired by: bde
|
| |
|
|
|
|
|
|
|
| |
the DIOCGDINFO ioctl into DIOCGDVIRGIN. This allows the newfs(8) to
work on vinum volumes without the now removed -v option.
Approved by: grog
|
|
|
|
|
|
|
|
| |
pollution.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Suggested by: bde
|
|
|
|
|
|
|
|
|
| |
(Most of the places where mac.h was recursively included from another
kernel header file. net/netinet to follow.)
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Suggested by: bde
|
| |
|
| |
|
|
|
|
| |
so that they can be seen by external callers.
|
|
|
|
| |
made un-static in rev 1.114.
|
|
|
|
| |
sys/uio.h and polluting the namespace even more.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
us to reduce namespace pollution by doing a nested include of _label.h
rather than mac.h. mac.h contains lots of baggage, whereas _label.h
contains much less. A follow-up sweep to change nested inclusion will
follow. The problem regarding exporting 'struct label' to userland
due to excessive exporting of kernel structures to userland still
needs to be resolved.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Suggested by: bde
|
| |
|
|
|
|
| |
bits in rev. 1.45.
|
|
|
|
| |
Remove the mpt driver entry.
|
|
|
|
|
|
|
|
|
| |
parts rather than use vop_{read,write}_args. Access to these
functions will ultimately not be available through the
"vop_{read,write}+IO_EXT" API but this functionality is retained
for debugging purposes for now.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to do this made the following script hang:
#!/bin/sh
set -ex
extattrctl start /tmp
extattrctl initattr 64 /tmp/EA00
extattrctl enable /tmp user ea00 /tmp/EA00
extattrctl showattr /tmp/EA00
if the filesystem backing /tmp did not support EAs.
The real solution is probably to have the extattrctl syscall do the
unlocking rather than depend on the filesystem to do it. Considering
that extattrctl is going to be made obsolete anyway, this has dogwash
priority.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
necessary.
|
|
|
|
|
|
|
|
|
| |
UFS only thing, and FFS should in principle not know if it is enabled
or not.
This commit cleans ffs_vnops.c for such knowledge, but not ffs_vfsops.c
Sponsored by: DARPA and NAI Labs.
|
| |
|
|
|
|
|
|
|
| |
these in the main filesystems. This does not change the resulting code
but makes the source a little bit more grepable.
Sponsored by: DARPA and NAI Labs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
there is a global lock over the undo structures because of the way
they are managed.
Switch to using SLIST instead of rolling our own linked list.
Fix several races where a permission check was done before a
copyin/copyout, if the copy happened to fault it may have been
possible to race for access to a semaphore set that one shouldn't
have access to.
Requested by: rwatson
Tested by: NetBSD regression suite.
|
|
|
|
|
|
|
|
|
|
| |
entire subsystem, we could move to per-message queue locks, however
the messages themselves seem to come from a global pool and to avoid
over-locking this code (locking individual queues, then the global
pool) I've opted to just do it this way.
Requested by: rwatson
Tested by: NetBSD's regression suite.
|
|
|
|
|
| |
- Set VV_TEXT in the top level execve code.
- Fixup the image activators to deal with the newly locked vnode.
|
|
|
|
| |
Reviewed by: peter
|
|
|
|
| |
was done only some of the time before, and now it is uniformly applied.
|