From 0f2ea061ef4e9049077c62ee6a707ecb50dd108a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 7 Feb 2015 21:06:26 +0100 Subject: [PATCH] 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 --- man2/capget.2 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/man2/capget.2 b/man2/capget.2 index 04823feb1..880b92149 100644 --- a/man2/capget.2 +++ b/man2/capget.2 @@ -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