Add option to drop Linux capabilities

Conflicts with setuid support, but that is commonly not enabled.
This commit is contained in:
Christian Göttsche
2020-09-02 14:39:25 +02:00
committed by BenBE
parent d72b0a682e
commit f4404effa4
4 changed files with 138 additions and 8 deletions

View File

@ -63,6 +63,14 @@ requesting a sort order with -s.
.TP
\fB\-H \-\-highlight-changes=DELAY\fR
Highlight new and old processes
.TP
\fB \-\-drop-capabilities[=none|basic|strict]\fR
Linux only; requires libcap support.
.br
Drop unneeded Linux capabilities.
In strict mode features like killing, changing process priorities, and reading
process delay accounting information will not work, due to less capabilities
held.
.SH "INTERACTIVE COMMANDS"
The following commands are supported while in
.BR htop :