aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/revoke.2
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-06-15 21:52:27 +0000
committerEd Schouten <ed@FreeBSD.org>2009-06-15 21:52:27 +0000
commit7c7cef727834993a1e92e0de5ccbe09dcba27d95 (patch)
treec534908bf30e3b007c9ef7d441157448110031a7 /lib/libc/sys/revoke.2
parentcb3ec8e0c166db43edf0a5d4d5b84100b76dc579 (diff)
downloadsrc-7c7cef727834993a1e92e0de5ccbe09dcba27d95.tar.gz
src-7c7cef727834993a1e92e0de5ccbe09dcba27d95.zip
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
Notes
Notes: svn path=/head/; revision=194267
Diffstat (limited to 'lib/libc/sys/revoke.2')
-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 c88222e61320..57abdbb65cbc 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