capget.2: Rewrite discussion of kernel versions that support file capabilities

File capabilities ceased to be optional in Linux 2.6.33.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-02-07 21:06:26 +01:00
parent 1872536844
commit 0f2ea061ef
1 changed files with 6 additions and 5 deletions

View File

@ -118,11 +118,12 @@ and
.IR datap [1],
whereas 32-bit capabilities use only
.IR datap [0].
.sp
Another change affecting the behavior of these system calls is kernel
support for file capabilities (VFS capability support).
This support is currently a compile time option (added in kernel 2.6.24).
.sp
On kernels that support file capabilities (VFS capability support),
these system calls behave slightly differently.
This support was added as an option in Linux 2.6.24,
and became fixed (nonoptional) in Linux 2.6.33.
For
.BR capget ()
calls, one can probe the capabilities of any process by specifying its