Commit Message

Newer kernels support setting file capabilities in user namespaces. In
addition to directly setting file capabilites in a user namespaces they
can also be set in lieu of another user namespace by passing a uid down
to the kernel which will convert it to an appropriate kuid_t
representation.
This commit adds a new rootid argument to the internal struct
_cap_struct so that we can store the rootid when the kernel supports
VFS_CAP_REVISION_3 and returns a struct vfs_ns_cap_data.
Signed-off-by: Christian Brauner <christian@brauner.io>Reviewed-by: Serge Hallyn <serge@hallyn.com>
---
libcap/libcap.h | 1 +
1 file changed, 1 insertion(+)