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

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

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too 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
Index: fusl/include/sys/ptrace.h
diff --git a/fusl/include/sys/ptrace.h b/fusl/include/sys/ptrace.h
index d9d4540874425ae92989fb7753ff90055d4a7090..9bf8619dcd5351b1845d84dee264f2cdc5b4e5e7 100644
--- a/fusl/include/sys/ptrace.h
+++ b/fusl/include/sys/ptrace.h
@@ -64,17 +64,17 @@ extern "C" {
#define PT_GETSIGINFO PTRACE_GETSIGINFO
#define PT_SETSIGINFO PTRACE_SETSIGINFO
-#define PTRACE_O_TRACESYSGOOD 0x00000001
-#define PTRACE_O_TRACEFORK 0x00000002
-#define PTRACE_O_TRACEVFORK 0x00000004
-#define PTRACE_O_TRACECLONE 0x00000008
-#define PTRACE_O_TRACEEXEC 0x00000010
+#define PTRACE_O_TRACESYSGOOD 0x00000001
+#define PTRACE_O_TRACEFORK 0x00000002
+#define PTRACE_O_TRACEVFORK 0x00000004
+#define PTRACE_O_TRACECLONE 0x00000008
+#define PTRACE_O_TRACEEXEC 0x00000010
#define PTRACE_O_TRACEVFORKDONE 0x00000020
-#define PTRACE_O_TRACEEXIT 0x00000040
-#define PTRACE_O_TRACESECCOMP 0x00000080
-#define PTRACE_O_EXITKILL 0x00100000
+#define PTRACE_O_TRACEEXIT 0x00000040
+#define PTRACE_O_TRACESECCOMP 0x00000080
+#define PTRACE_O_EXITKILL 0x00100000
#define PTRACE_O_SUSPEND_SECCOMP 0x00200000
-#define PTRACE_O_MASK 0x003000ff
+#define PTRACE_O_MASK 0x003000ff
#define PTRACE_EVENT_FORK 1
#define PTRACE_EVENT_VFORK 2
@@ -87,9 +87,9 @@ extern "C" {
#define PTRACE_PEEKSIGINFO_SHARED 1
struct ptrace_peeksiginfo_args {
- uint64_t off;
- uint32_t flags;
- int32_t nr;
+ uint64_t off;
+ uint32_t flags;
+ int32_t nr;
};
long ptrace(int, ...);

Powered by Google App Engine
This is Rietveld 408576698