78 #define B_LPID_TO_SPAIR 128
79 #define B_GET_CURRENT_CONTEXT 129
80 #define B_EMULATION_DONE 130
81 #define B_PTRACE_KERNEL 131
82 #define B_SET_AFFINITY_MASK 132
83 #define B_GET_AFFINITY_MASK 133
84 #define B_PTRACE_CLONE_BEGIN 134
85 #define B_PTRACE_STOP_FOR_OPT 135
86 #define B_UNSUPPORTED 136
87 #define B_STORE_ARGS 137
88 #define B_GETPID 138
89 #define B_JUMP_TO_LINUX 139
90 #define B_SET_THUNK_PID 140
91 #define B_EXIT_AS_SIG 141
92 #define B_HELPER_WAITID 142
93 #define B_HELPER_CLONE 143
94 #define B_HELPER_SETGROUPS 144
95 #define B_HELPER_SIGQUEUE 145
96 #define B_HELPER_TGSIGQUEUE 146
97 #define B_SET_NATIVE_STACK 147
98
99 #ifndef _ASM
100 /*
101 * Support for Linux PTRACE_SETOPTIONS handling.
102 */
103 typedef enum lx_ptrace_options {
104 LX_PTRACE_O_TRACESYSGOOD = 0x0001,
105 LX_PTRACE_O_TRACEFORK = 0x0002,
106 LX_PTRACE_O_TRACEVFORK = 0x0004,
107 LX_PTRACE_O_TRACECLONE = 0x0008,
108 LX_PTRACE_O_TRACEEXEC = 0x0010,
109 LX_PTRACE_O_TRACEVFORKDONE = 0x0020,
110 LX_PTRACE_O_TRACEEXIT = 0x0040,
111 LX_PTRACE_O_TRACESECCOMP = 0x0080
112 } lx_ptrace_options_t;
113
114 #define LX_PTRACE_O_ALL \
115 (LX_PTRACE_O_TRACESYSGOOD | LX_PTRACE_O_TRACEFORK | \
116 LX_PTRACE_O_TRACEVFORK | LX_PTRACE_O_TRACECLONE | \
117 LX_PTRACE_O_TRACEEXEC | LX_PTRACE_O_TRACEVFORKDONE | \
|
78 #define B_LPID_TO_SPAIR 128
79 #define B_GET_CURRENT_CONTEXT 129
80 #define B_EMULATION_DONE 130
81 #define B_PTRACE_KERNEL 131
82 #define B_SET_AFFINITY_MASK 132
83 #define B_GET_AFFINITY_MASK 133
84 #define B_PTRACE_CLONE_BEGIN 134
85 #define B_PTRACE_STOP_FOR_OPT 135
86 #define B_UNSUPPORTED 136
87 #define B_STORE_ARGS 137
88 #define B_GETPID 138
89 #define B_JUMP_TO_LINUX 139
90 #define B_SET_THUNK_PID 140
91 #define B_EXIT_AS_SIG 141
92 #define B_HELPER_WAITID 142
93 #define B_HELPER_CLONE 143
94 #define B_HELPER_SETGROUPS 144
95 #define B_HELPER_SIGQUEUE 145
96 #define B_HELPER_TGSIGQUEUE 146
97 #define B_SET_NATIVE_STACK 147
98 #define B_SIGEV_THREAD_ID 148
99
100 #ifndef _ASM
101 /*
102 * Support for Linux PTRACE_SETOPTIONS handling.
103 */
104 typedef enum lx_ptrace_options {
105 LX_PTRACE_O_TRACESYSGOOD = 0x0001,
106 LX_PTRACE_O_TRACEFORK = 0x0002,
107 LX_PTRACE_O_TRACEVFORK = 0x0004,
108 LX_PTRACE_O_TRACECLONE = 0x0008,
109 LX_PTRACE_O_TRACEEXEC = 0x0010,
110 LX_PTRACE_O_TRACEVFORKDONE = 0x0020,
111 LX_PTRACE_O_TRACEEXIT = 0x0040,
112 LX_PTRACE_O_TRACESECCOMP = 0x0080
113 } lx_ptrace_options_t;
114
115 #define LX_PTRACE_O_ALL \
116 (LX_PTRACE_O_TRACESYSGOOD | LX_PTRACE_O_TRACEFORK | \
117 LX_PTRACE_O_TRACEVFORK | LX_PTRACE_O_TRACECLONE | \
118 LX_PTRACE_O_TRACEEXEC | LX_PTRACE_O_TRACEVFORKDONE | \
|