aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/revoke.2
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>1999-01-18 02:37:03 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>1999-01-18 02:37:03 +0000
commit8425e985b7908eabb96e36f2d37c55befc5812e0 (patch)
tree49fc5bf2e10f4dc74ab3449eb8d448140ed03a3f /lib/libc/sys/revoke.2
parenta135bdb9a089d053c32961f1b675e630c37b1988 (diff)
downloadsrc-8425e985b7908eabb96e36f2d37c55befc5812e0.tar.gz
src-8425e985b7908eabb96e36f2d37c55befc5812e0.zip
revoke(2) is supported on regular files under current. Change wording
in manual page that indicated otherwise. PR: docs/9517 Submitted by: David Malone <dwmalone@maths.tcd.ie>
Notes
Notes: svn path=/head/; revision=42781
Diffstat (limited to 'lib/libc/sys/revoke.2')
-rw-r--r--lib/libc/sys/revoke.211
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libc/sys/revoke.2 b/lib/libc/sys/revoke.2
index b64c9dc5fc88..8787597f8206 100644
--- a/lib/libc/sys/revoke.2
+++ b/lib/libc/sys/revoke.2
@@ -65,10 +65,8 @@ 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
.Fn 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,
-preventing any access by a previous user of the terminal.
+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
indicates an error occurred and
@@ -92,8 +90,9 @@ Too many symbolic links were encountered in translating the pathname.
.Fa Path
points outside the process's allocated address space.
.It Bq Er EINVAL
-The named file is neither a character special or block
-special file.
+The named file does not support the
+.Fn revoke
+operation.
.It Bq Er EPERM
The caller is neither the owner of the file nor the super user.
.El