mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
48 lines
1.5 KiB
C
48 lines
1.5 KiB
C
|
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_CAP_H_
|
||
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_CAP_H_
|
||
|
|
||
|
#define CAP_CHOWN 0
|
||
|
#define CAP_DAC_OVERRIDE 1
|
||
|
#define CAP_DAC_READ_SEARCH 2
|
||
|
#define CAP_FOWNER 3
|
||
|
#define CAP_FSETID 4
|
||
|
#define CAP_KILL 5
|
||
|
#define CAP_SETGID 6
|
||
|
#define CAP_SETUID 7
|
||
|
#define CAP_SETPCAP 8
|
||
|
#define CAP_LINUX_IMMUTABLE 9
|
||
|
#define CAP_NET_BIND_SERVICE 10
|
||
|
#define CAP_NET_BROADCAST 11
|
||
|
#define CAP_NET_ADMIN 12
|
||
|
#define CAP_NET_RAW 13
|
||
|
#define CAP_IPC_LOCK 14
|
||
|
#define CAP_IPC_OWNER 15
|
||
|
#define CAP_SYS_MODULE 16
|
||
|
#define CAP_SYS_RAWIO 17
|
||
|
#define CAP_SYS_CHROOT 18
|
||
|
#define CAP_SYS_PTRACE 19
|
||
|
#define CAP_SYS_PACCT 20
|
||
|
#define CAP_SYS_ADMIN 21
|
||
|
#define CAP_SYS_BOOT 22
|
||
|
#define CAP_SYS_NICE 23
|
||
|
#define CAP_SYS_RESOURCE 24
|
||
|
#define CAP_SYS_TIME 25
|
||
|
#define CAP_SYS_TTY_CONFIG 26
|
||
|
#define CAP_MKNOD 27
|
||
|
#define CAP_LEASE 28
|
||
|
#define CAP_AUDIT_WRITE 29
|
||
|
#define CAP_AUDIT_CONTROL 30
|
||
|
#define CAP_SETFCAP 31
|
||
|
#define CAP_MAC_OVERRIDE 32
|
||
|
#define CAP_MAC_ADMIN 33
|
||
|
#define CAP_SYSLOG 34
|
||
|
#define CAP_WAKE_ALARM 35
|
||
|
#define CAP_BLOCK_SUSPEND 36
|
||
|
#define CAP_AUDIT_READ 37
|
||
|
#define CAP_PERFMON 38
|
||
|
#define CAP_BPF 39
|
||
|
#define CAP_CHECKPOINT_RESTORE 40
|
||
|
#define CAP_LAST_CAP CAP_CHECKPOINT_RESTORE
|
||
|
|
||
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_CAP_H_ */
|