strace/xlat/pr_dumpable.in
Eugene Syromyatnikov ea01cb0e5b prctl: implement decoding of SUID_DUMP_* constants in PR_[GS]ET_DUMPABLE
* xlat/pr_dumpable.in: New file.
* prctl.c: Include "xlat/pr_dumpable.h".
(SYS_FUNC(prctl)): Decode returned value of PR_GET_DUMPABLE operation
and the second syscall argument of PR_SET_DUMPABLE operation
as SUID_DUMP_* constants.
2016-12-17 11:40:03 +00:00

5 lines
168 B
Plaintext

/* Defined in include/linux/sched.h */
SUID_DUMP_DISABLE 0 /* No setuid dumping */
SUID_DUMP_USER 1 /* Dump as user of process */
SUID_DUMP_ROOT 2 /* Dump as root */