| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: misc/28605
Submitted by: Alexey Klimov <klim@unique.kiev.ua>
|
|
|
|
|
|
| |
until much later when the network stack locking is farther along.
Approved by: jlemon
|
|
|
|
|
|
|
|
|
|
|
| |
reference: with td->td_ucred, it will be desirable to authorize
based on td->td_ucred, rather than p->p_ucred.
o Since the same variable 'p' was later used with pfind() on the target
process for the wakeup, introduce a new local variable 'targetp'
to use instead.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
| |
-lncurses so the fixit crunch binary links.
Tested on: alpha
|
| |
|
|
|
|
|
|
|
| |
This will hopefully fix the recent 'I cannot compile linux module with
buildworld' problem. MFC will come shortly.
Submitted by: imura@ryu16.org
|
|
|
|
|
| |
PR: docs/31866
Submitted by: W. Campbell <wcampbel@botbay.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compare the slot offset against the predicted offset, not a boolean
flag. This typo effectively disabled the sequential optimisation,
but was otherwise harmless.
Not surprisingly, fixing this improves performance in the sequential
access case. I am seeing a 7% speedup on one machine here; using
dirhash when sequentially looking up directory entries is now about
5% faster instead of 2% slower than the non-dirhash case.
Submitted by: KOIE Hidetaka <koie@suri.co.jp>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
the idea of not masking passwords on comments in case the
administrator comments out an entry without clearing the
password. Instead completely ignore comments (since they have no
security impact) when doing the diff of the old and new passwd file.
Suggested by: rwatson
|
|
|
|
|
|
|
|
| |
netmask.
PR: 31947
Submitted by: Aaron Scarisbrick <aaronsca@hotmail.com>
MFC after: 1 week
|
|
|
|
| |
expansion instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace uses of holdfp() with fget*() or fgetvp*() calls as appropriate
introduce fget(), fget_read(), fget_write() - these functions will take
a thread and file descriptor and return a file pointer with its ref
count bumped.
introduce fgetvp(), fgetvp_read(), fgetvp_write() - these functions will
take a thread and file descriptor and return a vref()'d vnode.
*_read() requires that the file pointer be FREAD, *_write that it be
FWRITE.
This continues the cleanup of struct filedesc and struct file access
routines which, when are all through with it, will allow us to then
make the API calls MP safe and be able to move Giant down into the fo_*
functions.
|
|
|
|
|
|
|
|
| |
o Fix a number of wrong statements
o Clarify the structure of the files and the C structures theirselves
o Add cross-references to login(3), logout(3), logwtmp(3)
MFC after: 1 month
|
| |
|
| |
|
|
|
|
|
| |
Replace the manual mutex pool in kern_lock.c (lockmgr locks) with the new API.
Replace the mutexes embedded in sxlocks with the new API.
|
|
|
|
|
|
| |
when an operand is used both for input and output.
Reviewed by: jhb
|
|
|
|
|
|
|
|
|
|
|
| |
extracted and recreating device files.
Without this, you'll see following messages when 'MAKEDEV all':
[: : out of range
[: : out of range
acd0t is invalid -- can't have more than 32 devices or 169 tracks
Reported by: David Syphers <dsyphers@uchicago.edu> (at current@FreeBSD.org)
|
|
|
|
|
|
| |
- Use M_ZERO instead of another call to bzero().
Inspired by: misc/31905
|
|
|
|
| |
tradition.
|
|
|
|
|
|
|
|
|
|
|
| |
- Renumber labels since the previous revision removed one.
- Remove useless and wrong comment.
- Repeating the function name is just redundant.
- The previous revision made the comment about %edx useless.
- The comment about %eax was wrong (but did explain why %eax used to be
fixed up).
Submitted by: bde
|
|
|
|
|
|
|
| |
changes in 1.80 that were needed for locking that are no longer needed now
that a lock is simply asserted.
Submitted by: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In src/Makefile rev 1.232, environment variable PATH is set explicitly
to /sbin:/bin:/usr/sbin:/usr/bin. As a result, binaries located on
non-standard path cannot be executed without full-path (it's the change
of this revision).
However, cvsup is not in our base system -- you lose if you try to
"make update" without setting SUP in make.conf or command line argument.
I think it is safe to assume that cvsup is located at /usr/local/bin,
and it would help other people who first try to do "make update".
PR: 31932
MFC after: 1 day
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the WARNS 1 warnings except unused variables.
Add prototype for log_netobj().
Don't compare signed/unsigned.
Cast u_int64_t to 'unsigned long long' and print using %llu.
Fix constness of string arrays.
Use a cast to avoid an unused parameter in a signal handler.
alarm(2) can't fail, so don't check for it.
ANSI'ify some functions.
|
| |
|
| |
|
|
|
|
| |
Reviewed: jhb
|
| |
|
|
|
|
|
| |
don't bother manually fixing up %eax for the parent process by testing
the value in %edx and zeroing and already zeroed %eax.
|
|
|
|
| |
Reviewed by: peter
|
| |
|
|
|
|
| |
Reminded by: benno
|
|
|
|
|
| |
with corrupted submission dates (they were fixed on freefall a while ago),
and uncomment the code that removes the temp file when we're done.
|
|
|
|
| |
doesn't do much of interest except produce graphs similar to phk's.
|
|
|
|
|
|
| |
to output parameters with "0".
Reviewed by: jhb
|
|
|
|
| |
Reviewed by: alfred
|
|
|
|
| |
Reviewed by: alfred
|
|
|
|
|
|
|
|
|
|
| |
- Restore inferior() to being iterative rather than recursive.
- Assert that the proctree_lock is held in inferior() and change the one
caller to get a shared lock of it. This also ensures that we hold the
lock after performing the check so the check can't be made invalid out
from under us after the check but before we act on it.
Requested by: bde
|
|
|
|
| |
Requested by: bde
|
|
|
|
|
|
| |
support `long long' and those that don't.
Reviewed by: bde
|
|
|
|
|
|
|
| |
input and an output by using the '+' modifier rather than listing the
operand in both the input and output sections.
Reviwed by: bde
|
|
|
|
| |
Submitted by: Timo Geusch <freebsd@unix-consult.com>
|
| |
|
| |
|
|
|
|
|
|
| |
Flinstone -> Flintstone.
Submitted by: grog (during the kernel debugging session at BSDConEurope)
|
| |
|
| |
|
|
|
|
| |
reference to curthread. (#define curproc (curthread->td_proc)).
|