summaryrefslogtreecommitdiff
path: root/doc/capsh.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/capsh.1')
-rw-r--r--doc/capsh.111
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/capsh.1 b/doc/capsh.1
index 87ce06e..42637ab 100644
--- a/doc/capsh.1
+++ b/doc/capsh.1
@@ -91,9 +91,10 @@ Following this command, the effective capabilities will be cleared,
but the permitted set will not be, so the running program is still
privileged.
.TP
-.B \-\-modes
-Lists all of the libcap modes supported by
-.BR \-\-mode .
+.B \-\-mode
+Display the prevailing libcap mode as guessed by the
+.BR cap_get_mode (3)
+function.
.TP
.BR \-\-mode= <mode>
Force the program into a
@@ -101,6 +102,10 @@ Force the program into a
security mode. This is a set of securebits and prevailing capability
arrangement recommended for its pre-determined security stance.
.TP
+.B \-\-modes
+Lists all of the libcap modes supported by
+.BR \-\-mode= <mode>.
+.TP
.BR \-\-inmode= <mode>
Confirm that the prevailing mode is that specified in
.IR <mode> ,