From: Dmitry V. Levin Date: Mon, 14 Sep 2015 14:42:28 +0000 (+0000) Subject: Update PTRACE_O_* constants X-Git-Tag: v4.11~220 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e0442d43c6ff67f6f84763820bee4728e238fac;p=strace Update PTRACE_O_* constants * ptrace.h: Define PTRACE_O_SUSPEND_SECCOMP. * xlat/ptrace_setoptions_flags.in: Add it. --- diff --git a/ptrace.h b/ptrace.h index 065cbda1..31739c35 100644 --- a/ptrace.h +++ b/ptrace.h @@ -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 diff --git a/xlat/ptrace_setoptions_flags.in b/xlat/ptrace_setoptions_flags.in index 197d3ce3..8610c86d 100644 --- a/xlat/ptrace_setoptions_flags.in +++ b/xlat/ptrace_setoptions_flags.in @@ -7,5 +7,6 @@ PTRACE_O_TRACEVFORKDONE PTRACE_O_TRACEEXIT PTRACE_O_TRACESECCOMP PTRACE_O_EXITKILL +PTRACE_O_SUSPEND_SECCOMP /* tile */ PTRACE_O_TRACEMIGRATE