summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/revoke.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/revoke.2')
-rw-r--r--lib/libc/sys/revoke.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/revoke.2 b/lib/libc/sys/revoke.2
index 482cbf6..3d7ad00 100644
--- a/lib/libc/sys/revoke.2
+++ b/lib/libc/sys/revoke.2
@@ -31,7 +31,7 @@
.\" @(#)revoke.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd Jan 25, 2016
.Dt REVOKE 2
.Os
.Sh NAME
@@ -59,7 +59,8 @@ and a
system call will succeed.
If the file is a special file for a device which is open,
the device close function
-is called as if all open references to the file had been closed.
+is called as if all open references to the file had been closed
+using a special close method which does not block.
.Pp
Access to a file may be revoked only by its owner or the super user.
The
@@ -104,3 +105,6 @@ The
.Fn revoke
system call first appeared in
.Bx 4.3 Reno .
+.Sh BUGS
+The non-blocking close method is only correctly implemented for
+terminal devices.
OpenPOWER on IntegriCloud