Module Name: src
Committed By: riastradh
Date: Sun Jun 18 18:16:40 UTC 2023
Modified Files:
src/share/man/man7: sysctl.7
Log Message:
sysctl(7): Note nodev,nosuid requirement for user-mounted fs.
While here, tidy up language and markup a smidge.
To generate a diff of this commit:
cvs rdiff -u -r1.164 -r1.165 src/share/man/man7/sysctl.7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.164 src/share/man/man7/sysctl.7:1.165
--- src/share/man/man7/sysctl.7:1.164 Mon May 29 23:30:47 2023
+++ src/share/man/man7/sysctl.7 Sun Jun 18 18:16:40 2023
@@ -1,4 +1,4 @@
-.\" $NetBSD: sysctl.7,v 1.164 2023/05/29 23:30:47 gutteridge Exp $
+.\" $NetBSD: sysctl.7,v 1.165 2023/06/18 18:16:40 riastradh Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -142,13 +142,24 @@ The highest valid file system type numbe
Returns configuration information about the file system type given as a fourth
level identifier.
.It Li vfs.generic.usermount ( Dv VFS_USERMOUNT )
-Determines if non superuser mounts are allowed, defaults to
-.Dv 0 .
+Controls whether users other than the super-user can mount file
+systems.
+Defaults to
+.Li 0 ,
+so only the super-user can mount file systems.
+.Pp
+File systems mounted by unprivileged users must be mounted with the
+.Li nodev
+and
+.Li nosuid
+.Xr mount 8
+options.
.It Li vfs.generic.magiclinks ( Dv VFS_MAGICLINKS )
-Controls if expansion of variables is going to be performed on pathnames
-or not.
-Defaults to no variable expansion,
-.Dv 0 .
+Controls whether expansion of variables is going to be performed on
+pathnames or not.
+Defaults to
+.Li 0 ,
+no variable expansion.
Variables are of the form
.Li @name
and the variables supported are described in