]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
capabilities.7: Minor tweaks to the text added by Marcus Gelderie's patch
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 1 Nov 2018 13:38:06 +0000 (14:38 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 1 Nov 2018 13:40:49 +0000 (14:40 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/capabilities.7

index c9fd45718719bfc913d89e9e5a5df2045ae47e6e..508b1a725549119ffe299371fa367e7dd6743f37 100644 (file)
@@ -1453,9 +1453,11 @@ This flag is always cleared on an
 Note that even with the
 .B SECBIT_KEEP_CAPS
 flag set, the effective capabilities of a thread are cleared when it
-switches its effective UID to a nonzero value. However, if the effective
-UID is already nonzero and a thread subsequently switches all other UIDs
-to nonzero values, then the effective capabilities will not be cleared.
+switches its effective UID to a nonzero value.
+However,
+if the thread has set this flag and its effective UID is already nonzero,
+and the thread subsequently switches all other UIDs to nonzero values,
+then the effective capabilities will not be cleared.
 .IP
 The setting of the
 .B SECBIT_KEEP_CAPS