summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-15 21:52:27 +0000
committered <ed@FreeBSD.org>2009-06-15 21:52:27 +0000
commit675236a73e61660960610d1bca4fb88271cf0426 (patch)
treec534908bf30e3b007c9ef7d441157448110031a7 /lib
parent8e18b541e72bb508f317616f45dc8ca4ea75510e (diff)
downloadFreeBSD-src-675236a73e61660960610d1bca4fb88271cf0426.zip
FreeBSD-src-675236a73e61660960610d1bca4fb88271cf0426.tar.gz
Add revoke(1).
While hacking on TTY code, I often miss a small utility to revoke my own (pseudo-)terminals. This small utility is just a small wrapper around the revoke(2) call, so you can destroy your very own login sessions. Approved by: re
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/revoke.23
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/sys/revoke.2 b/lib/libc/sys/revoke.2
index c88222e..57abdbb 100644
--- a/lib/libc/sys/revoke.2
+++ b/lib/libc/sys/revoke.2
@@ -97,7 +97,8 @@ operation on the named file.
The caller is neither the owner of the file nor the super user.
.El
.Sh SEE ALSO
-.Xr close 2
+.Xr close 2 ,
+.Xr revoke 1
.Sh HISTORY
The
.Fn revoke
OpenPOWER on IntegriCloud