diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-08-12 21:08:34 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-08-12 21:08:34 +0000 |
commit | 8840bd034b103cdba6cb5ec0598baa00a90e2e76 (patch) | |
tree | 4d923dd33fad4f9a9d8024e62a89f4dc89b46745 /share | |
parent | fff3ee192f7ae3b8994f340fe18f1abea5978c25 (diff) | |
download | FreeBSD-src-8840bd034b103cdba6cb5ec0598baa00a90e2e76.zip FreeBSD-src-8840bd034b103cdba6cb5ec0598baa00a90e2e76.tar.gz |
Update io(4) to match reality following revision 1.42 of
sys/i386/i386/mem.c: only the super-user may open /dev/io
regardless of the device permissions (just 4 years late!).
Also, add cross-reference to i386_{get,set}_ioperm(2).
PR: kern/13359
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/man4.i386/io.4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/share/man/man4/man4.i386/io.4 b/share/man/man4/man4.i386/io.4 index 0e085c8..c0cb608 100644 --- a/share/man/man4/man4.i386/io.4 +++ b/share/man/man4/man4.i386/io.4 @@ -46,18 +46,19 @@ open will get its bits in the flag register set, thus allowing it to perform direct I/O operations. This can be useful in order to write userland programs that handle some hardware directly. +Note that even read-only access will grant the full I/O privileges. .Pp -The entire access control is handled by the file access permissions -of +In addition to any file access permissions on .Pa /dev/io , -so care should be taken in granting rights for this device. Note -that even read/only access will grant the full I/O privileges. +the kernel enforces that only the super-user may open this device. .Sh FILES .Bl -tag -width Pa -compact .It Pa /dev/io .El .Sh SEE ALSO .Xr mem 4 +.Xr i386_get_ioperm 2 +.Xr i386_set_ioperm 2 .Sh HISTORY The .Nm |