| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
system is running in secure mode.
Obtained from: NetBSD PR# 3299
|
|
|
|
|
|
|
|
| |
correct termination if it overflows.
Closes PR # misc/2982.
Submitted by: Drew Derbyshire <ahd@kew.com>
|
|
|
|
| |
Submitted by: Shunsuke Akiyama <akiyama@jp.freebsd.org>
|
|
|
|
|
|
|
| |
come out with PHILIPS as the vendor string, as opposed to IMS for the
older ones.
Submitted by: "Brian N. Handy" <handy@sag.space.lockheed.com>
|
| |
|
|
|
|
| |
Also add additional set*id(2) xrefs where appropriate.
|
| |
|
| |
|
|
|
|
| |
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
a reserved port, so why not the nfs rpc's themselves?
With user allowed mounts, this perhaps needs a closer look, but
on the other hand, a user could already specify the flag.
If normal users should not be able to use resserved ports, the kernel
should check for the flag at mount time.
|
|
|
|
| |
Removed unused #includes.
|
|
|
|
| |
Removed unused declarations.
|
|
|
|
| |
Removed trailing newline from panic messages.
|
|
|
|
| |
Don't compile unused (debugging?) functions.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(presumably because the kernel is old). Moved the declaration of a
variable realated to this sysctl outside of an unrelated ifdef.
Not fixed:
- this sysctl is badly named (nfs occurs twice).
- it's silly to have for FreeBSD in FreeBSD code, especially when
only half of the FreeBSD-dependent code is ifdefed.
|
| |
|
|
|
|
|
|
| |
Removed declaration of vfs_unmountroot() again.
Staticized vgonel().
|
|
|
|
| |
since we have "unsizeable" also have "sizeable"
|
|
|
|
| |
Fix incorrect bracket nesting. Closes PR#3144.
|
|
|
|
|
|
|
|
| |
The magic number conflicted with the rotting disabled one in ext2fs for
debug.doasyncfree.
Removed messy debugging variable/constant/sysctl debug.doreallocblks.
Lite2 removed it, and we don't use the code that it controls.
|
|
|
|
|
|
|
|
| |
magic number conflicted with the one for the Lite2 sysctl debug.busyprt.
Staticized some variables.
Removed unused #includes.
|
|
|
|
| |
Removed unused #includes.
|
|
|
|
| |
Removed unused #includes.
|
| |
|
|
|
|
|
|
| |
use of it. It was actually harmless because the use was null due
to fortuitous include orders and identical (wrong) idempotency
macros.
|
|
|
|
|
|
|
|
|
|
| |
defining doff_t both here and in <ufs/ufs/dir.h> so that this file
is independent of <ufs/ufs/dir.h>. It still has old prerequisites
<sys/param.h> and <ufs/ufs/quota.h>, and a new Lite2 prerequisite of
<sys/lock.h>, sigh.
This might fix lsof, which was broken by namespace pollution giving
conflicting definitions of DIRBLKSIZ.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Nishika <nishika@cheerful.com>
|
|
|
|
| |
Closes PR bin/648.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Reviewed by: jkh
|
|
|
|
|
|
|
|
|
| |
in uu_lock(). Add uu_lockerr() for turning the results of
uu_lock into something printable. Remove bogus section in man page
about race conditions allowing both processes to get the lock.
Include libutil.h and use uu_lock() correctly where it should.
Suggested by: ache@freebsd.org
|
|
|
|
| |
Forgotten by: wosch ;-)
|
|
|
|
| |
without a newline ('\n') as last character.
|
|
|
|
|
|
|
|
|
|
|
| |
it's internal malloc() implementation to try and avoid overstepping it's
resource limits (yuk!). Remain using libc's malloc(), but check the
resource limits right before trying to malloc the ramdisk space and leave
some spare memory for libc. In Andrey's words, the internal malloc
was "true evil".. Among it's sins is it's ability to allocate less memory
than asked for and still return success. stdio would just love that. :-)
Reviewed by: ache
|
|
|
|
|
|
|
|
|
|
| |
passes on the status across fork/exec.
The previous version had some typos, referred to itself as link(2) in
one place :-), and didn't really match openbsd's implementation either.
Now that I've mentioned typos, hopefully our Typo Police and Xref Police
will be gentle with me. :-)
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is valueable for library code which needs to be able to find out
whether the current process is or *was* set[ug]id at some point in the
past, and may have a "tainted" execution environment. This is especially
a problem with the trend to immediately revoke privs at startup and regain
them for critical sections. One problem with this is that if a cracker
is able to compromise the program while it's still got a saved id, the
cracker can direct the program to regain the privs. Another problem is
that the user may be able to affect the program in some other way (eg:
setting resolver host aliases) and the library code needs to know when it
should disable these sorts of features.
Reviewed by: ache
Inspired by: OpenBSD (but with a different implementation)
|