Update PTRACE_O_* constants

* ptrace.h: Define PTRACE_O_SUSPEND_SECCOMP.
* xlat/ptrace_setoptions_flags.in: Add it.
This commit is contained in:
Дмитрий Левин 2015-09-14 14:42:28 +00:00
parent b02bcfadcb
commit 8e0442d43c
2 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,9 @@ extern long ptrace(int, int, char *, long);
#ifndef PTRACE_O_EXITKILL
# define PTRACE_O_EXITKILL (1 << 20)
#endif
#ifndef PTRACE_O_SUSPEND_SECCOMP
# define PTRACE_O_SUSPEND_SECCOMP (1 << 21)
#endif
#ifndef PTRACE_SETOPTIONS
# define PTRACE_SETOPTIONS 0x4200

View File

@ -7,5 +7,6 @@ PTRACE_O_TRACEVFORKDONE
PTRACE_O_TRACEEXIT
PTRACE_O_TRACESECCOMP
PTRACE_O_EXITKILL
PTRACE_O_SUSPEND_SECCOMP
/* tile */
PTRACE_O_TRACEMIGRATE