summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorart <art@openbsd.org>1999-07-07 17:02:42 +0000
committerart <art@openbsd.org>1999-07-07 17:02:42 +0000
commitdecd7d80b40962245e0d2dac945409d47663c489 (patch)
treed73cbbc4ce734ce0eb94b200ba7b328ffe1edd06 /lib/libc
parentAdd IPSec Sysctl info. ok angelos@. (diff)
downloadwireguard-openbsd-decd7d80b40962245e0d2dac945409d47663c489.tar.xz
wireguard-openbsd-decd7d80b40962245e0d2dac945409d47663c489.zip
revoke(2) works on more than just char and block devices
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/revoke.26
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/sys/revoke.2 b/lib/libc/sys/revoke.2
index 7c471fd67f8..96d5427204a 100644
--- a/lib/libc/sys/revoke.2
+++ b/lib/libc/sys/revoke.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: revoke.2,v 1.4 1999/02/27 21:56:43 deraadt Exp $
+.\" $OpenBSD: revoke.2,v 1.5 1999/07/07 17:02:42 art Exp $
.\" $NetBSD: revoke.2,v 1.3 1995/10/12 15:41:11 jtc Exp $
.\"
.\" Copyright (c) 1993
@@ -68,9 +68,7 @@ is called as if all open references to the file had been closed.
Access to a file may be revoked only by its owner or the super user.
The
.Nm revoke
-function is currently supported only for block and character special
-device files.
-It is normally used to prepare a terminal device for a new login session,
+function is normally used to prepare a terminal device for a new login session,
preventing any access by a previous user of the terminal.
.Sh RETURN VALUES
A 0 value indicated that the call succeeded. A \-1 return value