-#define _LINUX_CAPABILITY_VERSION 0x19980330
+#define _LINUX_CAPABILITY_VERSION_1 0x19980330
+#define _LINUX_CAPABILITY_U32S_1 1
+
+#define _LINUX_CAPABILITY_VERSION_2 0x20071026 /* deprecated - use v3 */
+#define _LINUX_CAPABILITY_U32S_2 2
+
+#define _LINUX_CAPABILITY_VERSION_3 0x20080522
+#define _LINUX_CAPABILITY_U32S_3 2
typedef struct __user_cap_header_struct {
- int version;
+ __u32 version;
int pid;
} *cap_user_header_t;
typedef struct __user_cap_data_struct {
- int effective;
- int permitted;
- int inheritable;
+ __u32 effective;
+ __u32 permitted;
+ __u32 inheritable;
} *cap_user_data_t;