mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 09:01:07 +00:00
Sync sys/ptrace with Linux 3.10
This commit is contained in:
parent
a0d93e9b26
commit
521c6785e1
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
|||||||
|
2013-07-03 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
|
||||||
|
define.
|
||||||
|
(PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
|
||||||
|
(ptrace_peeksiginfo_args): Add.
|
||||||
|
(__ptrace_peeksiginfo_flags): Add.
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
|
||||||
|
|
||||||
2013-07-03 Allan McRae <allan@archlinux.org>
|
2013-07-03 Allan McRae <allan@archlinux.org>
|
||||||
|
|
||||||
* sysdeps/i386/fpu/libm-test-ulps: Update.
|
* sysdeps/i386/fpu/libm-test-ulps: Update.
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2013-07-04 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
For ChangeLog.aarch64:
|
||||||
|
* sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (PTRACE_LISTEN):
|
||||||
|
Add define.
|
||||||
|
(PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
|
||||||
|
(ptrace_peeksiginfo_args): Add.
|
||||||
|
(__ptrace_peeksiginfo_flags): Add.
|
||||||
|
|
||||||
2013-06-28 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
2013-06-28 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
||||||
|
|
||||||
* sysdeps/aarch64/dl-machine.h (elf_machine_dynamic): De-reference
|
* sysdeps/aarch64/dl-machine.h (elf_machine_dynamic): De-reference
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2013-07-04 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_LISTEN):
|
||||||
|
Add define.
|
||||||
|
(PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
|
||||||
|
(ptrace_peeksiginfo_args): Add.
|
||||||
|
(__ptrace_peeksiginfo_flags): Add.
|
||||||
|
|
||||||
2013-06-27 Maciej W. Rozycki <macro@codesourcery.com>
|
2013-06-27 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/ia64/dl-static.c: Do not include
|
* sysdeps/unix/sysv/linux/ia64/dl-static.c: Do not include
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2013-07-04 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_PEEKSIGINFO):
|
||||||
|
Add new value from Linux 3.10.
|
||||||
|
(ptrace_peeksiginfo_args): Add.
|
||||||
|
(__ptrace_peeksiginfo_flags): Add.
|
||||||
|
(PTRACE_SETREGSET, PTRACE_SEIZE, PTRACE_INTERRUPT, PTRACE_LISTEN):
|
||||||
|
Add.
|
||||||
|
|
||||||
2013-06-28 Chris Metcalf <cmetcalf@tilera.com>
|
2013-06-28 Chris Metcalf <cmetcalf@tilera.com>
|
||||||
|
|
||||||
* sysdeps/tile/fegetenv.c: Delete now-redundant file.
|
* sysdeps/tile/fegetenv.c: Delete now-redundant file.
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#define _SYS_PTRACE_H 1
|
#define _SYS_PTRACE_H 1
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
#include <bits/types.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
@ -123,7 +124,11 @@ enum __ptrace_request
|
|||||||
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
||||||
|
|
||||||
/* Wait for next group event. */
|
/* Wait for next group event. */
|
||||||
PTRACE_LISTEN = 0x4208
|
PTRACE_LISTEN = 0x4208,
|
||||||
|
#define PTRACE_LISTEN PTRACE_LISTEN
|
||||||
|
|
||||||
|
PTRACE_PEEKSIGINFO = 0x4209
|
||||||
|
#define PTRACE_PEEKSIGINFO PTRACE_PEEKSIGINFO
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -159,6 +164,20 @@ enum __ptrace_eventcodes
|
|||||||
PTRACE_EVENT_SECCOMP = 7
|
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
|
/* Perform process tracing functions. REQUEST is one of the values
|
||||||
above, and determines the action to be taken.
|
above, and determines the action to be taken.
|
||||||
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
#include <sys/ucontext.h>
|
#include <sys/ucontext.h>
|
||||||
|
#include <bits/types.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
@ -128,7 +129,11 @@ enum __ptrace_request
|
|||||||
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
||||||
|
|
||||||
/* Wait for next group event. */
|
/* Wait for next group event. */
|
||||||
PTRACE_LISTEN = 0x4208
|
PTRACE_LISTEN = 0x4208,
|
||||||
|
#define PTRACE_LISTEN PTRACE_LISTEN
|
||||||
|
|
||||||
|
PTRACE_PEEKSIGINFO = 0x4209
|
||||||
|
#define PTRACE_PEEKSIGINFO PTRACE_PEEKSIGINFO
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -179,6 +184,20 @@ enum __ptrace_eventcodes
|
|||||||
PTRACE_EVENT_SECCOMP = 7
|
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
|
/* Perform process tracing functions. REQUEST is one of the values
|
||||||
above, and determines the action to be taken.
|
above, and determines the action to be taken.
|
||||||
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#define _SYS_PTRACE_H 1
|
#define _SYS_PTRACE_H 1
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
#include <bits/types.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
@ -101,8 +102,28 @@ enum __ptrace_request
|
|||||||
#define PT_GETSIGINFO PTRACE_GETSIGINFO
|
#define PT_GETSIGINFO PTRACE_GETSIGINFO
|
||||||
|
|
||||||
/* Set new siginfo for process. */
|
/* Set new siginfo for process. */
|
||||||
PTRACE_SETSIGINFO = 0x4203
|
PTRACE_SETSIGINFO = 0x4203,
|
||||||
#define PT_SETSIGINFO PTRACE_SETSIGINFO
|
#define PT_SETSIGINFO PTRACE_SETSIGINFO
|
||||||
|
|
||||||
|
/* Set register content. */
|
||||||
|
PTRACE_SETREGSET = 0x4205,
|
||||||
|
#define PTRACE_SETREGSET PTRACE_SETREGSET
|
||||||
|
|
||||||
|
/* Like PTRACE_ATTACH, but do not force tracee to trap and do not affect
|
||||||
|
signal or group stop state. */
|
||||||
|
PTRACE_SEIZE = 0x4206,
|
||||||
|
#define PTRACE_SEIZE PTRACE_SEIZE
|
||||||
|
|
||||||
|
/* Trap seized tracee. */
|
||||||
|
PTRACE_INTERRUPT = 0x4207,
|
||||||
|
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
||||||
|
|
||||||
|
/* Wait for next group event. */
|
||||||
|
PTRACE_LISTEN = 0x4208,
|
||||||
|
#define PTRACE_LISTEN PTRACE_LISTEN
|
||||||
|
|
||||||
|
PTRACE_PEEKSIGINFO = 0x4209
|
||||||
|
#define PTRACE_PEEKSIGINFO PTRACE_PEEKSIGINFO
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -132,6 +153,20 @@ enum __ptrace_eventcodes
|
|||||||
PTRACE_EVENT_SECCOMP = 7
|
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
|
/* Perform process tracing functions. REQUEST is one of the values
|
||||||
above, and determines the action to be taken.
|
above, and determines the action to be taken.
|
||||||
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#define _SYS_PTRACE_H 1
|
#define _SYS_PTRACE_H 1
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
#include <bits/types.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
@ -115,7 +116,11 @@ enum __ptrace_request
|
|||||||
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
||||||
|
|
||||||
/* Wait for next group event. */
|
/* Wait for next group event. */
|
||||||
PTRACE_LISTEN = 0x4208
|
PTRACE_LISTEN = 0x4208,
|
||||||
|
#define PTRACE_LISTEN PTRACE_LISTEN
|
||||||
|
|
||||||
|
PTRACE_PEEKSIGINFO = 0x4209
|
||||||
|
#define PTRACE_PEEKSIGINFO PTRACE_PEEKSIGINFO
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -152,6 +157,20 @@ enum __ptrace_eventcodes
|
|||||||
PTRACE_EVENT_SECCOMP = 7
|
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
|
/* Perform process tracing functions. REQUEST is one of the values
|
||||||
above, and determines the action to be taken.
|
above, and determines the action to be taken.
|
||||||
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#define _SYS_PTRACE_H 1
|
#define _SYS_PTRACE_H 1
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
#include <bits/types.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
#ifdef _LINUX_PTRACE_H
|
#ifdef _LINUX_PTRACE_H
|
||||||
@ -154,7 +155,11 @@ enum __ptrace_request
|
|||||||
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
||||||
|
|
||||||
/* Wait for next group event. */
|
/* Wait for next group event. */
|
||||||
PTRACE_LISTEN = 0x4208
|
PTRACE_LISTEN = 0x4208,
|
||||||
|
#define PTRACE_LISTEN PTRACE_LISTEN
|
||||||
|
|
||||||
|
PTRACE_PEEKSIGINFO = 0x4209
|
||||||
|
#define PTRACE_PEEKSIGINFO PTRACE_PEEKSIGINFO
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -191,6 +196,20 @@ enum __ptrace_eventcodes
|
|||||||
PTRACE_EVENT_SECCOMP = 7
|
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
|
/* Perform process tracing functions. REQUEST is one of the values
|
||||||
above, and determines the action to be taken.
|
above, and determines the action to be taken.
|
||||||
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#define _SYS_PTRACE_H 1
|
#define _SYS_PTRACE_H 1
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
#include <bits/types.h>
|
||||||
#include <bits/wordsize.h>
|
#include <bits/wordsize.h>
|
||||||
|
|
||||||
/* Linux/SPARC kernels up to 2.3.18 do not care much
|
/* Linux/SPARC kernels up to 2.3.18 do not care much
|
||||||
@ -198,7 +198,11 @@ enum __ptrace_request
|
|||||||
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
||||||
|
|
||||||
/* Wait for next group event. */
|
/* 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
|
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
|
/* Perform process tracing functions. REQUEST is one of the values
|
||||||
above, and determines the action to be taken.
|
above, and determines the action to be taken.
|
||||||
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#define _SYS_PTRACE_H 1
|
#define _SYS_PTRACE_H 1
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
#include <bits/types.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
@ -145,7 +146,11 @@ enum __ptrace_request
|
|||||||
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
||||||
|
|
||||||
/* Wait for next group event. */
|
/* Wait for next group event. */
|
||||||
PTRACE_LISTEN = 0x4208
|
PTRACE_LISTEN = 0x4208,
|
||||||
|
#define PTRACE_LISTEN PTRACE_LISTEN
|
||||||
|
|
||||||
|
PTRACE_PEEKSIGINFO = 0x4209
|
||||||
|
#define PTRACE_PEEKSIGINFO PTRACE_PEEKSIGINFO
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -182,6 +187,20 @@ enum __ptrace_eventcodes
|
|||||||
PTRAVE_EVENT_SECCOMP = 7
|
PTRAVE_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
|
/* Perform process tracing functions. REQUEST is one of the values
|
||||||
above, and determines the action to be taken.
|
above, and determines the action to be taken.
|
||||||
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
For all requests except PTRACE_TRACEME, PID specifies the process to be
|
||||||
|
Loading…
Reference in New Issue
Block a user