diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2006-05-28 23:29:33 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2006-05-28 23:29:33 +0000 |
commit | a2416f06ac46dabf19752b024b229348c8d22815 (patch) | |
tree | 34c623f891ee5935a85839439d7688760340e50d /lib | |
parent | e62e7f8d148fab5e5c120113bcf1d33e110f63e7 (diff) |
Add support for NFS mounts to be from non-reserved ports:
- new sysctl vfs.nfs.privport to require NFS mount requests to be on
reserved ports when set to 1 (the default).
- mountd now automatically sets the sysctl depending on the -n flag.
- add mountd_flags to rc.conf to enable the -n flag at boot.
deraadt@ ok
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/sysctl.3 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 6d968ba5f88..7e7e28da7e7 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.155 2006/05/28 01:27:44 pedro Exp $ +.\" $OpenBSD: sysctl.3,v 1.156 2006/05/28 23:29:32 avsm Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -1941,6 +1941,7 @@ are contiguous on disk, reducing fragmentation. .It Sy Third level name Type Changeable .It Dv NFS_NFSSTATS No " struct nfsstats yes" .It Dv NFS_NIOTHREADS No " int yes" +.It Dv NFS_PRIVPORT No " int yes" .El .El .El |