1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_CAPABILITY_H
13 #define _LINUX_CAPABILITY_H
15 #include <linux/types.h>
16 #include <linux/compiler.h>
18 #define _LINUX_CAPABILITY_VERSION 0x19980330
20 typedef struct __user_cap_header_struct {
23 } __user *cap_user_header_t;
25 typedef struct __user_cap_data_struct {
29 } __user *cap_user_data_t;
33 #define CAP_DAC_OVERRIDE 1
35 #define CAP_DAC_READ_SEARCH 2
41 #define CAP_FS_MASK 0x1f
51 #define CAP_LINUX_IMMUTABLE 9
53 #define CAP_NET_BIND_SERVICE 10
55 #define CAP_NET_BROADCAST 11
57 #define CAP_NET_ADMIN 12
59 #define CAP_NET_RAW 13
61 #define CAP_IPC_LOCK 14
63 #define CAP_IPC_OWNER 15
65 #define CAP_SYS_MODULE 16
67 #define CAP_SYS_RAWIO 17
69 #define CAP_SYS_CHROOT 18
71 #define CAP_SYS_PTRACE 19
73 #define CAP_SYS_PACCT 20
75 #define CAP_SYS_ADMIN 21
77 #define CAP_SYS_BOOT 22
79 #define CAP_SYS_NICE 23
81 #define CAP_SYS_RESOURCE 24
83 #define CAP_SYS_TIME 25
85 #define CAP_SYS_TTY_CONFIG 26
91 #define CAP_AUDIT_WRITE 29
93 #define CAP_AUDIT_CONTROL 30