diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
| commit | 76b5366091f76c9bc73570149ef5055648fc2c39 (patch) | |
| tree | 590d020e0f2a5bea6e09d66d951a674443b21d67 /lib/libc/sys/revoke.2 | |
| parent | 4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff) | |
This commit was manufactured by cvs2svn to create tagrelease/3.0.0
'RELENG_3_0_0_RELEASE'.
Diffstat (limited to 'lib/libc/sys/revoke.2')
| -rw-r--r-- | lib/libc/sys/revoke.2 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/sys/revoke.2 b/lib/libc/sys/revoke.2 index 8787597f8206..b64c9dc5fc88 100644 --- a/lib/libc/sys/revoke.2 +++ b/lib/libc/sys/revoke.2 @@ -65,8 +65,10 @@ 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 normally used to prepare a terminal device for a new -login session, preventing any access by a previous user of the terminal. +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. .Sh RETURN VALUES A 0 value indicated that the call succeeded. A \-1 return value indicates an error occurred and @@ -90,9 +92,8 @@ 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 does not support the -.Fn revoke -operation. +The named file is neither a character special or block +special file. .It Bq Er EPERM The caller is neither the owner of the file nor the super user. .El |
