strace/xlat/secbits.in
Dmitry V. Levin 1e88073053 Improve prctl decoding
* configure.ac (AC_CHECK_HEADERS): Add linux/securebits.h.
* prctl.c (sys_prctl): Implement full decoding of all PR_* constants
as defined in linux v3.19.
(sys_arch_prctl): Fix decoding of unknown commands.
* xlat/cap.in: New file.
* xlat/pr_mce_kill.in: New file.
* xlat/pr_mce_kill_policy.in: New file.
* xlat/pr_set_mm.in: New file.
* xlat/pr_tsc.in: New file.
* xlat/pr_unalign_flags.in: New file.
* xlat/secbits.in: New file.
* xlat/prctl_options.in: Remove non-linux constants, add fallback
definitions.
* xlat/seccomp_mode.in: Add fallback definitions.
2015-02-19 01:54:38 +00:00

7 lines
183 B
Plaintext

SECBIT_NOROOT (1 << 0)
SECBIT_NOROOT_LOCKED (1 << 1)
SECBIT_NO_SETUID_FIXUP (1 << 2)
SECBIT_NO_SETUID_FIXUP_LOCKED (1 << 3)
SECBIT_KEEP_CAPS (1 << 4)
SECBIT_KEEP_CAPS_LOCKED (1 << 5)