| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
connection, a large set of network exports could take many minutes to
time out, giving the appearance of a total hang during boot.
|
| |
|
|
|
|
| |
This is handy for testing and possibly to work around busted v3 clients.
|
|
|
|
|
|
| |
user to force v2 protocol even if the server supports v3.
Obtained from: NetBSD but with a slightly different implementation
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
nfs requests from non-privileged ports.
Change mountd such that it does never set this variable, but only clears
it when run with -n. Also document this in the man page.
|
|
|
|
| |
route add -net 192.168.64.0/20 bla bla bla
|
| |
|
|
|
|
| |
flag (which is now set by default).
|
|
|
|
|
|
| |
system is running in secure mode.
Obtained from: NetBSD PR# 3299
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
| |
Submitted by: bde
|
|
|
|
| |
posix standard on the topic.
|
|
|
|
|
|
|
|
|
| |
I was not sure whether the fs_id fields should be printed in the clear
in case of sniffing over a network login etc. It might be an idea
to have somebody with spare time go through and find any other missing
fields that should be reported.
Definate 2.2.x/2.1.x candidate since it breaks the build.
|
|
|
|
|
|
| |
ports. This option will be automatically set/cleraed when mount is run
without/with the -n option.
Reviewed by: Doug Rabson
|
| |
|
|
|
|
| |
Submitted by: Philippe Charnier
|
| |
|
|
|
|
| |
in FreeBSD.
|
|
|
|
|
| |
Add missing RNG initialization
Use srandomdev() for RNG initialization
|
|
|
|
|
|
| |
Not replace malloc() family for non-standalone variant
Pay attention on malloc() family return code now
Use srandomdev() now for RNG initialization
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
automatically have random generation numbers. The kenel way of handling those
also changed. Further it is advised to run fsirand on all your nfs exported
filesystems. the code is mostly copied from OpenBSD, with the randomization
chanegd to use /dev/urandom
Reviewed by: Garrett
Obtained from: OpenBSD
|
| |
|
|
|
|
| |
nasty if sizeof(int) != sizeof(long).
|
| |
|
|
|
|
|
| |
with the rest of the manpage. (Lite2 documents it in getopt form, Lite1
did it in old-style arg format)
|
|
|
|
| |
Pointed out by: Tom Jackson <tom@peeper.jackson.org>
|
| |
|
|
|
|
|
|
|
|
| |
something closer to how we used to do it. The Lite2 way is to check the
"fsclean" flag in the superblock and stop there if so (during preen).
We now do the various superblock sanity checks that we used to do before
since it's cheap. We now get the filesystem state summary again instead
of "FILESYSTEM CLEAN; CHECKING SKIPPED" (or whatever).
|
| |
|
| |
|
|
|
|
| |
stamps in the inodes and call one of fsck's utility funcs with a new arg.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
errors (mis-sorted prototypes, duplicated MNT_NOATIME, duplicated NULL
mntopts fixup).
Updated getopt() usage.
Fixed style bugs in FreeBSD changes (one or two per line for putfsent()
stuff).
|
| |
|
|
|
|
| |
Fixed style bugs in FreeBSD changes.
|