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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « fusl/include/sys/prctl.h ('k') | fusl/ldso/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef _SYS_PTRACE_H 1 #ifndef _SYS_PTRACE_H
2 #define _SYS_PTRACE_H 2 #define _SYS_PTRACE_H
3 #ifdef __cplusplus 3 #ifdef __cplusplus
4 extern "C" { 4 extern "C" {
5 #endif 5 #endif
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #define PTRACE_TRACEME 0 9 #define PTRACE_TRACEME 0
10 #define PT_TRACE_ME PTRACE_TRACEME 10 #define PT_TRACE_ME PTRACE_TRACEME
(...skipping 21 matching lines...) Expand all
32 #define PTRACE_GETSIGINFO 0x4202 32 #define PTRACE_GETSIGINFO 0x4202
33 #define PTRACE_SETSIGINFO 0x4203 33 #define PTRACE_SETSIGINFO 0x4203
34 #define PTRACE_GETREGSET 0x4204 34 #define PTRACE_GETREGSET 0x4204
35 #define PTRACE_SETREGSET 0x4205 35 #define PTRACE_SETREGSET 0x4205
36 #define PTRACE_SEIZE 0x4206 36 #define PTRACE_SEIZE 0x4206
37 #define PTRACE_INTERRUPT 0x4207 37 #define PTRACE_INTERRUPT 0x4207
38 #define PTRACE_LISTEN 0x4208 38 #define PTRACE_LISTEN 0x4208
39 #define PTRACE_PEEKSIGINFO 0x4209 39 #define PTRACE_PEEKSIGINFO 0x4209
40 #define PTRACE_GETSIGMASK 0x420a 40 #define PTRACE_GETSIGMASK 0x420a
41 #define PTRACE_SETSIGMASK 0x420b 41 #define PTRACE_SETSIGMASK 0x420b
42 #define PTRACE_SECCOMP_GET_FILTER 0x420c
42 43
43 #define PT_READ_I PTRACE_PEEKTEXT 44 #define PT_READ_I PTRACE_PEEKTEXT
44 #define PT_READ_D PTRACE_PEEKDATA 45 #define PT_READ_D PTRACE_PEEKDATA
45 #define PT_READ_U PTRACE_PEEKUSER 46 #define PT_READ_U PTRACE_PEEKUSER
46 #define PT_WRITE_I PTRACE_POKETEXT 47 #define PT_WRITE_I PTRACE_POKETEXT
47 #define PT_WRITE_D PTRACE_POKEDATA 48 #define PT_WRITE_D PTRACE_POKEDATA
48 #define PT_WRITE_U PTRACE_POKEUSER 49 #define PT_WRITE_U PTRACE_POKEUSER
49 #define PT_CONTINUE PTRACE_CONT 50 #define PT_CONTINUE PTRACE_CONT
50 #define PT_KILL PTRACE_KILL 51 #define PT_KILL PTRACE_KILL
51 #define PT_STEP PTRACE_SINGLESTEP 52 #define PT_STEP PTRACE_SINGLESTEP
(...skipping 13 matching lines...) Expand all
65 66
66 #define PTRACE_O_TRACESYSGOOD 0x00000001 67 #define PTRACE_O_TRACESYSGOOD 0x00000001
67 #define PTRACE_O_TRACEFORK 0x00000002 68 #define PTRACE_O_TRACEFORK 0x00000002
68 #define PTRACE_O_TRACEVFORK 0x00000004 69 #define PTRACE_O_TRACEVFORK 0x00000004
69 #define PTRACE_O_TRACECLONE 0x00000008 70 #define PTRACE_O_TRACECLONE 0x00000008
70 #define PTRACE_O_TRACEEXEC 0x00000010 71 #define PTRACE_O_TRACEEXEC 0x00000010
71 #define PTRACE_O_TRACEVFORKDONE 0x00000020 72 #define PTRACE_O_TRACEVFORKDONE 0x00000020
72 #define PTRACE_O_TRACEEXIT 0x00000040 73 #define PTRACE_O_TRACEEXIT 0x00000040
73 #define PTRACE_O_TRACESECCOMP 0x00000080 74 #define PTRACE_O_TRACESECCOMP 0x00000080
74 #define PTRACE_O_EXITKILL 0x00100000 75 #define PTRACE_O_EXITKILL 0x00100000
75 #define PTRACE_O_MASK 0x001000ff 76 #define PTRACE_O_SUSPEND_SECCOMP 0x00200000
77 #define PTRACE_O_MASK 0x003000ff
76 78
77 #define PTRACE_EVENT_FORK 1 79 #define PTRACE_EVENT_FORK 1
78 #define PTRACE_EVENT_VFORK 2 80 #define PTRACE_EVENT_VFORK 2
79 #define PTRACE_EVENT_CLONE 3 81 #define PTRACE_EVENT_CLONE 3
80 #define PTRACE_EVENT_EXEC 4 82 #define PTRACE_EVENT_EXEC 4
81 #define PTRACE_EVENT_VFORK_DONE 5 83 #define PTRACE_EVENT_VFORK_DONE 5
82 #define PTRACE_EVENT_EXIT 6 84 #define PTRACE_EVENT_EXIT 6
83 #define PTRACE_EVENT_SECCOMP 7 85 #define PTRACE_EVENT_SECCOMP 7
84 86
85 #define PTRACE_PEEKSIGINFO_SHARED 1 87 #define PTRACE_PEEKSIGINFO_SHARED 1
86 88
87 struct ptrace_peeksiginfo_args { 89 struct ptrace_peeksiginfo_args {
88 uint64_t off; 90 uint64_t off;
89 uint32_t flags; 91 uint32_t flags;
90 int32_t nr; 92 int32_t nr;
91 }; 93 };
92 94
93 long ptrace(int, ...); 95 long ptrace(int, ...);
94 96
95 #ifdef __cplusplus 97 #ifdef __cplusplus
96 } 98 }
97 #endif 99 #endif
98 #endif 100 #endif
OLDNEW
« 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