]> Pileus Git - ~andy/linux/blobdiff - include/uapi/linux/ptrace.h
Merge tag 'dt-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[~andy/linux] / include / uapi / linux / ptrace.h
index 022ab186a81252ceaad11708b69a8fcd964f19ed..52ebcc89f306a3106489597c504ae60c0469b9ca 100644 (file)
@@ -5,6 +5,7 @@
 
 /* has the defines to get at the registers. */
 
+#include <linux/types.h>
 
 #define PTRACE_TRACEME            0
 #define PTRACE_PEEKTEXT                   1
 #define PTRACE_INTERRUPT       0x4207
 #define PTRACE_LISTEN          0x4208
 
+#define PTRACE_PEEKSIGINFO     0x4209
+
+struct ptrace_peeksiginfo_args {
+       __u64 off;      /* from which siginfo to start */
+       __u32 flags;
+       __s32 nr;       /* how may siginfos to take */
+};
+
+/* Read signals from a shared (process wide) queue */
+#define PTRACE_PEEKSIGINFO_SHARED      (1 << 0)
+
 /* Wait extended result codes for the above trace options.  */
 #define PTRACE_EVENT_FORK      1
 #define PTRACE_EVENT_VFORK     2