Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | __user_cap_header_struct |
struct | __user_cap_data_struct |
struct | vfs_cap_data |
Typedefs | |
typedef struct __user_cap_header_struct * | cap_user_header_t |
typedef struct __user_cap_data_struct * | cap_user_data_t |
#define _LINUX_CAPABILITY_U32S _LINUX_CAPABILITY_U32S_1 |
Definition at line 85 of file capability.h.
#define _LINUX_CAPABILITY_U32S_1 1 |
Definition at line 32 of file capability.h.
#define _LINUX_CAPABILITY_U32S_2 2 |
Definition at line 35 of file capability.h.
#define _LINUX_CAPABILITY_U32S_3 2 |
Definition at line 38 of file capability.h.
#define _LINUX_CAPABILITY_VERSION _LINUX_CAPABILITY_VERSION_1 |
Definition at line 84 of file capability.h.
#define _LINUX_CAPABILITY_VERSION_1 0x19980330 |
Definition at line 31 of file capability.h.
#define _LINUX_CAPABILITY_VERSION_2 0x20071026 /* deprecated - use v3 */ |
Definition at line 34 of file capability.h.
#define _LINUX_CAPABILITY_VERSION_3 0x20080522 |
Definition at line 37 of file capability.h.
#define CAP_AUDIT_CONTROL 30 |
Definition at line 313 of file capability.h.
#define CAP_AUDIT_WRITE 29 |
Definition at line 311 of file capability.h.
#define CAP_BLOCK_SUSPEND 36 |
Definition at line 344 of file capability.h.
#define CAP_CHOWN 0 |
POSIX-draft defined capabilities.
Definition at line 98 of file capability.h.
#define CAP_DAC_OVERRIDE 1 |
Definition at line 104 of file capability.h.
#define CAP_DAC_READ_SEARCH 2 |
Definition at line 110 of file capability.h.
#define CAP_FOWNER 3 |
Definition at line 116 of file capability.h.
#define CAP_FSETID 4 |
Definition at line 125 of file capability.h.
#define CAP_IPC_LOCK 14 |
Definition at line 200 of file capability.h.
#define CAP_IPC_OWNER 15 |
Definition at line 204 of file capability.h.
#define CAP_KILL 5 |
Definition at line 131 of file capability.h.
#define CAP_LAST_CAP CAP_BLOCK_SUSPEND |
Definition at line 346 of file capability.h.
#define CAP_LEASE 28 |
Definition at line 309 of file capability.h.
#define CAP_LINUX_IMMUTABLE 9 |
Definition at line 163 of file capability.h.
#define CAP_MAC_ADMIN 33 |
Definition at line 332 of file capability.h.
#define CAP_MAC_OVERRIDE 32 |
Definition at line 323 of file capability.h.
#define CAP_MKNOD 27 |
Definition at line 305 of file capability.h.
#define CAP_NET_ADMIN 12 |
Definition at line 188 of file capability.h.
#define CAP_NET_BIND_SERVICE 10 |
Definition at line 168 of file capability.h.
#define CAP_NET_BROADCAST 11 |
Definition at line 172 of file capability.h.
#define CAP_NET_RAW 13 |
Definition at line 194 of file capability.h.
#define CAP_SETFCAP 31 |
Definition at line 315 of file capability.h.
#define CAP_SETGID 6 |
Definition at line 137 of file capability.h.
#define CAP_SETPCAP 8 |
Linux-specific capabilities
Definition at line 159 of file capability.h.
#define CAP_SETUID 7 |
Definition at line 142 of file capability.h.
#define CAP_SYS_ADMIN 21 |
Definition at line 263 of file capability.h.
#define CAP_SYS_BOOT 22 |
Definition at line 267 of file capability.h.
#define CAP_SYS_CHROOT 18 |
Definition at line 216 of file capability.h.
#define CAP_SYS_MODULE 16 |
Definition at line 207 of file capability.h.
#define CAP_SYS_NICE 23 |
Definition at line 276 of file capability.h.
#define CAP_SYS_PACCT 20 |
Definition at line 224 of file capability.h.
#define CAP_SYS_PTRACE 19 |
Definition at line 220 of file capability.h.
#define CAP_SYS_RAWIO 17 |
Definition at line 212 of file capability.h.
#define CAP_SYS_RESOURCE 24 |
Definition at line 290 of file capability.h.
#define CAP_SYS_TIME 25 |
Definition at line 296 of file capability.h.
#define CAP_SYS_TTY_CONFIG 26 |
Definition at line 301 of file capability.h.
#define CAP_SYSLOG 34 |
Definition at line 336 of file capability.h.
Definition at line 354 of file capability.h.
Definition at line 355 of file capability.h.
#define cap_valid | ( | x | ) | ((x) >= 0 && (x) <= CAP_LAST_CAP) |
Definition at line 348 of file capability.h.
#define CAP_WAKE_ALARM 35 |
Definition at line 340 of file capability.h.
#define VFS_CAP_FLAGS_EFFECTIVE 0x000001 |
Definition at line 55 of file capability.h.
#define VFS_CAP_FLAGS_MASK ~VFS_CAP_REVISION_MASK |
Definition at line 54 of file capability.h.
#define VFS_CAP_REVISION VFS_CAP_REVISION_2 |
Definition at line 67 of file capability.h.
#define VFS_CAP_REVISION_1 0x01000000 |
Definition at line 57 of file capability.h.
#define VFS_CAP_REVISION_2 0x02000000 |
Definition at line 61 of file capability.h.
#define VFS_CAP_REVISION_MASK 0xFF000000 |
Definition at line 52 of file capability.h.
#define VFS_CAP_REVISION_SHIFT 24 |
Definition at line 53 of file capability.h.
#define VFS_CAP_U32 VFS_CAP_U32_2 |
Definition at line 66 of file capability.h.
#define VFS_CAP_U32_1 1 |
Definition at line 58 of file capability.h.
#define VFS_CAP_U32_2 2 |
Definition at line 62 of file capability.h.
#define XATTR_CAPS_SZ XATTR_CAPS_SZ_2 |
Definition at line 65 of file capability.h.
#define XATTR_CAPS_SZ_1 (sizeof(__le32)*(1 + 2*VFS_CAP_U32_1)) |
Definition at line 59 of file capability.h.
#define XATTR_CAPS_SZ_2 (sizeof(__le32)*(1 + 2*VFS_CAP_U32_2)) |
Definition at line 63 of file capability.h.
typedef struct __user_cap_data_struct* cap_user_data_t |