diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2021-05-16 18:36:24 -0700 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2021-05-16 18:36:24 -0700 |
commit | 578b4cd7bfd9c5eb46f0191c10ba2434f27562ad (patch) | |
tree | 88ce808866b8cf017710758007fe011fe1fb7075 /cap | |
parent | 572b1f8099c05e2840ae66d52d8bee8e547bad39 (diff) | |
download | libcap2-578b4cd7bfd9c5eb46f0191c10ba2434f27562ad.tar.gz |
Add support for --suggest=phrase to capsh.
Ever wondered something like which capability allows a process
to do privileged things with a tty? Try this:
capsh --suggest="tty"
cap_sys_tty_config (26) [/proc/self/status:CapXXX: 0x0000000004000000]
Allows a process to manipulate tty devices:
- configure tty devices
- perform vhangup() of a tty
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'cap')
-rw-r--r-- | cap/names.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cap/names.go b/cap/names.go index c082d28..bb69daa 100644 --- a/cap/names.go +++ b/cap/names.go @@ -50,7 +50,7 @@ const ( // file. FSETID - // KILL allows a process to sent a kill(2) signal to any other + // KILL allows a process to send a kill(2) signal to any other // process - overriding the limitation that there be a // [E]UID match between source and target process. KILL |