aboutsummaryrefslogtreecommitdiffstats
path: root/man7/capabilities.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-04-07 14:23:00 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-04-08 12:32:44 +0200
commitafae50e4aae2ac79e675df4879dee95e00235733 (patch)
tree316334ecc57b78a3d6fbb956b712df5c2a1c9f27 /man7/capabilities.7
parenta7a8f3b088857c4e32ce232208d590af58b5dd45 (diff)
downloadman-pages-afae50e4aae2ac79e675df4879dee95e00235733.tar.gz
capabilities.7: Document /proc/sys/kernel/cap_last_cap
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/capabilities.7')
-rw-r--r--man7/capabilities.77
1 files changed, 7 insertions, 0 deletions
diff --git a/man7/capabilities.7 b/man7/capabilities.7
index e3cfdf84a4..c06bf16a35 100644
--- a/man7/capabilities.7
+++ b/man7/capabilities.7
@@ -667,6 +667,13 @@ See below for a discussion of the treatment of capabilities during
Using
.BR capset (2),
a thread may manipulate its own capability sets (see below).
+.PP
+Since Linux 3.2, the file
+.I /proc/sys/kernel/cap_last_cap
+exposes the numerical value of the highest capability
+supported by the running kernel;
+this can be used to determine the highest bit
+that may be set in a capability set.
.\"
.SS File capabilities
Since kernel 2.6.24, the kernel supports