|
@@ -69,10 +69,6 @@ typedef struct __user_cap_data_struct {
|
|
#define VFS_CAP_U32 VFS_CAP_U32_2
|
|
#define VFS_CAP_U32 VFS_CAP_U32_2
|
|
#define VFS_CAP_REVISION VFS_CAP_REVISION_2
|
|
#define VFS_CAP_REVISION VFS_CAP_REVISION_2
|
|
|
|
|
|
-#ifdef CONFIG_SECURITY_FILE_CAPABILITIES
|
|
|
|
-extern int file_caps_enabled;
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
struct vfs_cap_data {
|
|
struct vfs_cap_data {
|
|
__le32 magic_etc; /* Little endian */
|
|
__le32 magic_etc; /* Little endian */
|
|
struct {
|
|
struct {
|
|
@@ -96,6 +92,10 @@ struct vfs_cap_data {
|
|
#define _KERNEL_CAPABILITY_VERSION _LINUX_CAPABILITY_VERSION_3
|
|
#define _KERNEL_CAPABILITY_VERSION _LINUX_CAPABILITY_VERSION_3
|
|
#define _KERNEL_CAPABILITY_U32S _LINUX_CAPABILITY_U32S_3
|
|
#define _KERNEL_CAPABILITY_U32S _LINUX_CAPABILITY_U32S_3
|
|
|
|
|
|
|
|
+#ifdef CONFIG_SECURITY_FILE_CAPABILITIES
|
|
|
|
+extern int file_caps_enabled;
|
|
|
|
+#endif
|
|
|
|
+
|
|
typedef struct kernel_cap_struct {
|
|
typedef struct kernel_cap_struct {
|
|
__u32 cap[_KERNEL_CAPABILITY_U32S];
|
|
__u32 cap[_KERNEL_CAPABILITY_U32S];
|
|
} kernel_cap_t;
|
|
} kernel_cap_t;
|