capabilities.7: Fix 2 version numbers under "Effect of user ID changes on capabilities"

Reported by Liu Jiaming <storypku@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-09-27 11:17:46 +02:00
parent adb7cd334e
commit 5c0fa6d885
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@
.\" other capabilities where the permitted or inheritable bit is set.
.\" 2011-09-07, mtk/Serge hallyn: Add CAP_SYSLOG
.\"
.TH CAPABILITIES 7 2013-07-21 "Linux" "Linux Programmer's Manual"
.TH CAPABILITIES 7 2013-09-27 "Linux" "Linux Programmer's Manual"
.SH NAME
capabilities \- overview of Linux capabilities
.SH DESCRIPTION
@ -944,11 +944,11 @@ then the following capabilities are cleared from the effective set:
.BR CAP_FOWNER ,
.BR CAP_FSETID ,
.B CAP_LINUX_IMMUTABLE
(since Linux 2.2.30),
(since Linux 2.6.30),
.BR CAP_MAC_OVERRIDE ,
and
.B CAP_MKNOD
(since Linux 2.2.30).
(since Linux 2.6.30).
If the filesystem UID is changed from nonzero to 0,
then any of these capabilities that are enabled in the permitted set
are enabled in the effective set.