Go to the documentation of this file. 1 #ifndef _ASM_GENERIC_SIGINFO_H
2 #define _ASM_GENERIC_SIGINFO_H
6 #define __SI_MASK 0xffff0000u
7 #define __SI_KILL (0 << 16)
8 #define __SI_TIMER (1 << 16)
9 #define __SI_POLL (2 << 16)
10 #define __SI_FAULT (3 << 16)
11 #define __SI_CHLD (4 << 16)
12 #define __SI_RT (5 << 16)
13 #define __SI_MESGQ (6 << 16)
14 #define __SI_SYS (7 << 16)
15 #define __SI_CODE(T,N) ((T) | ((N) & 0xffff))
20 #ifndef HAVE_ARCH_COPY_SIGINFO
22 #include <linux/string.h>
27 memcpy(to, from,
sizeof(*to));