REVOKE(2) — System Interface Manual — System Calls
NAME
revoke − revoke access to an object associated with a descriptor
SYNOPSIS
revoke(fd)
DESCRIPTION
Revoke forces any references to the underlying object attached to fd to be forcibly deleted. Revoke is used by the initialization process init(8) to arrange that users are given “clean”’ terminals at login, by revoking access of the previous users’ processes to the terminal.
NOTES
Revocation is affected on each object reference by deleting access permissions to the object. Further attempts to access the object by the affected processes will yield i/o errors (EBADF). Finally, a hangup signal (SIGHUP) is sent to the process group of each process which has a resource “revoked” on it.
SEE ALSO
init (8)
BUGS
Access to the control terminal via /dev/tty is still possible.
This call is peculiar to this version of UNIX. The options and specifications of this system call and even the call itself are subject to change.
Sun System Release 0.3