| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
deal with C99 formats.
|
|
|
|
| |
Submitted by: ue
|
|
|
|
|
|
|
| |
little graphics images are a pain to deal with, and they don't work in
the *.TXT files anyways.
Submitted by: ue
|
|
|
|
| |
Reviewed by: silby
|
| |
|
|
|
|
| |
So start it in the background to speed up booting.
|
|
|
|
| |
I believe have made all of libc .h's as consistent as possible.
|
|
|
|
| |
I believe have made all of libc .c's as consistent as possible.
|
|
|
|
| |
I believe have made all of libc .h's as consistent as possible.
|
|
|
|
|
|
|
|
| |
as a macro w/o messing things up. This is really an abuse and we will back
this out as soon as the abusers have been fixed. Add a comment to this
effect.
With this change, the XFree86-4 port now builds.
|
|
|
|
| |
appropriate.
|
|
|
|
| |
I believe have made all of libc .c's as consistent as possible.
|
|
|
|
|
|
| |
code that is still not safe. suser() reads p_ucred so it still needs
Giant for the time being. This should allow kern.giant.proc to be set
to 0 for the time being.
|
| |
|
| |
|
|
|
|
| |
section somewhat clearer.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- expr must conform to the Utility Syntax Guidelines, so use
getopt() to eat the (non-existent) options.
- Use the Standard type intmax_t for arithmetic.
- If an argument cannot be *completely* converted to an integer, then
it is a string.
Additionally make some style cleanups near the modified lines. This
utility is still not completely style-compliant.
|
|
|
|
|
|
| |
rpcgen can't really make those fields const because the remote side might
want to munge them, so we need to pass non-const in. Hackish, but should
work.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the network code from using cr_cansee() to check whether a
socket is visible to a requesting credential to using a new
function, cr_canseesocket(), which accepts a subject credential
and object socket. Implement cr_canseesocket() so that it does a
prison check, a uid check, and add a comment where shortly a MAC
hook will go. This will allow MAC policies to seperately
instrument the visibility of sockets from the visibility of
processes.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
| |
|
| |
|
| |
|
|
|
|
| |
char *, but we'll fix those later.
|
|
|
|
| |
when deP'ing. But I guess not.
|
|
|
|
| |
to avoid -Wshadow warnings in consumers of its generated header files.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
in <bsd.prog.mk> and <bsd.lib.mk>.
Reviewed by: luigi
|
|
|
|
|
| |
Protect against CFLAGS having -I/usr/include listed explicitly.
The real solution would be to fix the library. XXX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pointer which will then result in the allocated route's reference
count never being decremented. Just flood ping the localhost and
watch refcnt of the 127.0.0.1 route with netstat(1).
Submitted by: jayanth
Back out ip_output.c,v 1.143 and ip_mroute.c,v 1.69 that allowed
ip_output() to be called with a NULL route pointer. The previous
paragraph shows why this was a bad idea in the first place.
MFC after: 0 days
|
|
|
|
| |
lock as the data may be paged out and cause a fault.
|
|
|
|
|
|
|
| |
have had them, but didn't.
While I'm here, do some general cleanup, including typo fixes, some
rewrites, and consolidation of some related entries.
|
|
|
|
|
|
|
| |
check. I don't know how this went unnoticed for so long.
obtained from: NetBSD
MFC after: 7 days
|
| |
|
|
|
|
| |
Pointy hat to: jeff
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to test req->td for NULL values and then do somewhat more bizarre things
relating to securelevel special-casing and suser checks. Remove the
testing and conditional security checks based on req->td!=NULL, and insert
a KASSERT that td != NULL. Callers to sysctl must always specify the
thread (be it kernel or otherwise) requesting the operation, or a
number of current sysctls will fail due to assumptions that the thread
exists.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Discussed with: bde
|
|
|
|
| |
will follow.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NULL, turn warning printf's into panic's, since this call has been
restructured such that a NULL cred would result in a page fault anyway.
There appears to be one case where NULL is explicitly passed in in the
sysctl code, and this is believed to be in error, so will be modified.
Securelevels now always require a credential context so that per-jail
securelevels are properly implemented.
Obtained from: TrustedBSD Project
Sponsored by: NAI Labs
Discussed with: bde
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| | |
our GNU sort, as discussed 6 months or more ago.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
manpages in machine-specific subdirectories (like man4/i386/) to
"../". This change didn't propagate here resulting in a loss of
whatis(1) database entries. Fix this.
Reviewed by: tobez
MFC after: 1 week
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
PR: 35649
Reported by: Johann Frisch <jerfa@yahoo.com>
Reviewed by: bp
Approved by: bp, silence on -doc
MFC after: 1 week
|