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 /sbin/sysctl | |
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 'sbin/sysctl')
-rw-r--r-- | sbin/sysctl/sysctl.8 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8 index 182d0689dd8..bb814f3b652 100644 --- a/sbin/sysctl/sysctl.8 +++ b/sbin/sysctl/sysctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.8,v 1.130 2006/05/27 23:43:03 claudio Exp $ +.\" $OpenBSD: sysctl.8,v 1.131 2006/05/28 23:29:32 avsm Exp $ .\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $ .\" .\" Copyright (c) 1993 @@ -410,6 +410,7 @@ not all of the variables are relevant to all architectures. .It vfs.ffs.dirhash_maxmem integer yes .It vfs.ffs.dirhash_mem integer no .It vfs.nfs.iothreads integer yes +.It vfs.nfs.privport integer yes .El .Pp The |