summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-29 19:50:06 +0000
committerphk <phk@FreeBSD.org>2000-10-29 19:50:06 +0000
commitbdfeee725dd9e85454d3d326a09177192f702333 (patch)
treecd2f46adceefe441a2889eab177c357b90babac1 /sys/kern
parentdb841f6fcc94129ec93a3fb86ca7b84eec15152d (diff)
downloadFreeBSD-src-bdfeee725dd9e85454d3d326a09177192f702333.zip
FreeBSD-src-bdfeee725dd9e85454d3d326a09177192f702333.tar.gz
Allow all users to access the dev -> devname sysctl.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index 90f667f..dfbca44 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -453,6 +453,6 @@ sysctl_devname(SYSCTL_HANDLER_ARGS)
return (error);
}
-SYSCTL_PROC(_kern, OID_AUTO, devname, CTLTYPE_OPAQUE|CTLFLAG_RW,
+SYSCTL_PROC(_kern, OID_AUTO, devname, CTLTYPE_OPAQUE|CTLFLAG_RW|CTLFLAG_ANYBODY,
NULL, 0, sysctl_devname, "", "devname(3) handler");
OpenPOWER on IntegriCloud