]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/capability.h
file capabilities: add no_file_caps switch (v4)
[mirror_ubuntu-artful-kernel.git] / include / linux / capability.h
index 9d1fe30b6f6c1226b7fe6e6d37937c2d50be70ac..5bc145bd759a843eb0cdf1923fe348cb60b4ff5b 100644 (file)
@@ -68,6 +68,9 @@ typedef struct __user_cap_data_struct {
 #define VFS_CAP_U32             VFS_CAP_U32_2
 #define VFS_CAP_REVISION       VFS_CAP_REVISION_2
 
+#ifdef CONFIG_SECURITY_FILE_CAPABILITIES
+extern int file_caps_enabled;
+#endif
 
 struct vfs_cap_data {
        __le32 magic_etc;            /* Little endian */