strace/xlat/cap_mask0.in
Dmitry V. Levin 2f0808b88e Move CAP_* definitions out to header files
* Makefile.am (strace_SOURCES): Add caps0.h and caps1.h.
* caps0.h: New file.
* caps1.h: New file.
* capability.c: Remove CAP_* definitions, include "caps0.h"
and "caps1.h" instead.
Include "xlat/cap_mask0.h" instead of "xlat/capabilities.h".
Include "xlat/cap_mask1.h" instead of "xlat/capabilities1.h".
(print_cap_bits): Update callers.
* xlat/capabilities.in: Rename to xlat/cap_mask0.in.
* xlat/capabilities1.in: Rename to xlat/cap_mask1.in.
2015-02-19 00:33:39 +00:00

34 lines
563 B
Plaintext

#unconditional
1<<CAP_CHOWN
1<<CAP_DAC_OVERRIDE
1<<CAP_DAC_READ_SEARCH
1<<CAP_FOWNER
1<<CAP_FSETID
1<<CAP_KILL
1<<CAP_SETGID
1<<CAP_SETUID
1<<CAP_SETPCAP
1<<CAP_LINUX_IMMUTABLE
1<<CAP_NET_BIND_SERVICE
1<<CAP_NET_BROADCAST
1<<CAP_NET_ADMIN
1<<CAP_NET_RAW
1<<CAP_IPC_LOCK
1<<CAP_IPC_OWNER
1<<CAP_SYS_MODULE
1<<CAP_SYS_RAWIO
1<<CAP_SYS_CHROOT
1<<CAP_SYS_PTRACE
1<<CAP_SYS_PACCT
1<<CAP_SYS_ADMIN
1<<CAP_SYS_BOOT
1<<CAP_SYS_NICE
1<<CAP_SYS_RESOURCE
1<<CAP_SYS_TIME
1<<CAP_SYS_TTY_CONFIG
1<<CAP_MKNOD
1<<CAP_LEASE
1<<CAP_AUDIT_WRITE
1<<CAP_AUDIT_CONTROL
1<<CAP_SETFCAP