Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: fusl/include/sys/ptrace.h

Issue 1689833004: [fusl] Update fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: remove stray space Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/include/sys/prctl.h ('k') | fusl/ldso/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/include/sys/ptrace.h
diff --git a/fusl/include/sys/ptrace.h b/fusl/include/sys/ptrace.h
index a133e66a1764441b217bf20f8233926967daa9e3..d9d4540874425ae92989fb7753ff90055d4a7090 100644
--- a/fusl/include/sys/ptrace.h
+++ b/fusl/include/sys/ptrace.h
@@ -39,6 +39,7 @@ extern "C" {
#define PTRACE_PEEKSIGINFO 0x4209
#define PTRACE_GETSIGMASK 0x420a
#define PTRACE_SETSIGMASK 0x420b
+#define PTRACE_SECCOMP_GET_FILTER 0x420c
#define PT_READ_I PTRACE_PEEKTEXT
#define PT_READ_D PTRACE_PEEKDATA
@@ -72,7 +73,8 @@ extern "C" {
#define PTRACE_O_TRACEEXIT 0x00000040
#define PTRACE_O_TRACESECCOMP 0x00000080
#define PTRACE_O_EXITKILL 0x00100000
-#define PTRACE_O_MASK 0x001000ff
+#define PTRACE_O_SUSPEND_SECCOMP 0x00200000
+#define PTRACE_O_MASK 0x003000ff
#define PTRACE_EVENT_FORK 1
#define PTRACE_EVENT_VFORK 2
« no previous file with comments | « fusl/include/sys/prctl.h ('k') | fusl/ldso/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698