summaryrefslogtreecommitdiffstats
path: root/share/man/man4/tap.4
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2005-04-13 00:30:19 +0000
committermdodd <mdodd@FreeBSD.org>2005-04-13 00:30:19 +0000
commit6f55c85dec1eb335caa95ef07d9644fb0d921e7f (patch)
tree7ac18311de6a6c0737fba69f89947b682bfb6aa8 /share/man/man4/tap.4
parentbdcac6ad82d9d15d367abad3a4d81e966455070b (diff)
downloadFreeBSD-src-6f55c85dec1eb335caa95ef07d9644fb0d921e7f.zip
FreeBSD-src-6f55c85dec1eb335caa95ef07d9644fb0d921e7f.tar.gz
Provide a sysctl (net.link.tap.user_open) to allow unpriviliged
acces to tap(4) device nodes based on file system permission. Duplicate the 'debug.if_tap_debug' sysctl under the 'net.link.tap' hierarchy.
Diffstat (limited to 'share/man/man4/tap.4')
-rw-r--r--share/man/man4/tap.46
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man4/tap.4 b/share/man/man4/tap.4
index 6932b79..c82220b 100644
--- a/share/man/man4/tap.4
+++ b/share/man/man4/tap.4
@@ -85,7 +85,11 @@ The Ethernet tunnel device, normally
.Pa /dev/tap Ns Sy N ,
is exclusive-open
(it cannot be opened if it is already open)
-and is restricted to the super-user.
+and is restricted to the super-user, unless the
+.Xr sysctl 8
+variable
+.Va net.link.tap.user_open
+is non-zero.
A
.Fn read
call will return an error
OpenPOWER on IntegriCloud