]> granicus.if.org Git - strace/commitdiff
Update PTRACE_O_* constants
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 14 Sep 2015 14:42:28 +0000 (14:42 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 14 Sep 2015 14:42:28 +0000 (14:42 +0000)
* ptrace.h: Define PTRACE_O_SUSPEND_SECCOMP.
* xlat/ptrace_setoptions_flags.in: Add it.

ptrace.h
xlat/ptrace_setoptions_flags.in

index 065cbda1a8983a1fd5fbbe92ac8e9c08e68451f2..31739c35251a90e064dd581a434577f5c7e9b611 100644 (file)
--- 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
index 197d3ce35d437734ee3164e2114fd96d503923f4..8610c86dc0d638bb1b0ad4ff65664c9b079346b5 100644 (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