Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add sysctl type for "usermount".
details: https://anonhg.NetBSD.org/src/rev/fb686cc3038e
branches: trunk
changeset: 482600:fb686cc3038e
user: fvdl <fvdl%NetBSD.org@localhost>
date: Wed Feb 16 11:57:00 2000 +0000
description:
Add sysctl type for "usermount".
diffstat:
sys/sys/mount.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 03b4379460c6 -r fb686cc3038e sys/sys/mount.h
--- a/sys/sys/mount.h Wed Feb 16 11:38:44 2000 +0000
+++ b/sys/sys/mount.h Wed Feb 16 11:57:00 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount.h,v 1.79 2000/01/20 19:06:13 wrstuden Exp $ */
+/* $NetBSD: mount.h,v 1.80 2000/02/16 11:57:00 fvdl Exp $ */
/*
* Copyright (c) 1989, 1991, 1993
@@ -224,7 +224,8 @@
#define VFS_MAXTYPENUM 1 /* int: highest defined fs type */
#define VFS_CONF 2 /* struct: vfsconf for filesystem given
as next argument */
-#define VFSGEN_MAXID 3 /* number of valid vfs.generic ids */
+#define VFS_USERMOUNT 3 /* enable/disable fs mnt by non-root */
+#define VFSGEN_MAXID 4 /* number of valid vfs.generic ids */
/*
* XXX NOTE! These must be in the order of mountcompatnames[] in
@@ -261,6 +262,7 @@
{ 0, 0 }, \
{ "maxtypenum", CTLTYPE_INT }, \
{ "conf", CTLTYPE_NODE }, /* Special */ \
+ { "usermount", CTLTYPE_INT }, \
}
/*
Home |
Main Index |
Thread Index |
Old Index