mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Sync sys/ptrace with Linux 3.10
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
#define _SYS_PTRACE_H 1
|
||||
|
||||
#include <features.h>
|
||||
|
||||
#include <bits/types.h>
|
||||
#include <bits/wordsize.h>
|
||||
|
||||
/* Linux/SPARC kernels up to 2.3.18 do not care much
|
||||
@ -198,7 +198,11 @@ enum __ptrace_request
|
||||
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
||||
|
||||
/* Wait for next group event. */
|
||||
PTRACE_LISTEN = 0x4208
|
||||
PTRACE_LISTEN = 0x4208,
|
||||
#define PTRACE_LISTEN PTRACE_LISTEN
|
||||
|
||||
PTRACE_PEEKSIGINFO = 0x4209
|
||||
#define PTRACE_PEEKSIGINFO PTRACE_PEEKSIGINFO
|
||||
};
|
||||
|
||||
|
||||
@ -235,6 +239,20 @@ enum __ptrace_eventcodes
|
||||
PTRACE_EVENT_SECCOMP = 7
|
||||
};
|
||||
|
||||
/* Arguments for PTRACE_PEEKSIGINFO. */
|
||||
struct ptrace_peeksiginfo_args
|
||||
{
|
||||
__uint64_t off; /* From which siginfo to start. */
|
||||
__uint32_t flags; /* Flags for peeksiginfo. */
|
||||
__int32_t nr; /* How many siginfos to take. */
|
||||
};
|
||||
|
||||
enum __ptrace_peeksiginfo_flags
|
||||
{
|
||||
/* Read signals from a shared (process wide) queue. */
|
||||
PTRACE_PEEKSIGINFO_SHARED = (1 << 0)
|
||||
};
|
||||
|
||||
/* Perform process tracing functions. REQUEST is one of the values
|
||||
above, and determines the action to be taken.
|
||||
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
||||
|
Reference in New Issue
Block a user