uClibc: add signal info for seccomp related SIGSYS
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 23 May 2015 15:26:19 +0000 (15:26 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 23 May 2015 15:26:19 +0000 (15:26 +0000)
commitde3463711c54c1c5940df655618c7f19b05b9f29
treea4fdfb47129efe998590366534db68b90f599b86
parent381e4e098b1ee68240da2377f599613a8f27c930
uClibc: add signal info for seccomp related SIGSYS

uClibc doesn't define signal info for the SIGSYS signal which is issued
in case of hitting a syscall prohibited by seccomp.
This is sad as it makes debugging seccomp filter policies impossible on
some architectures (at least ARM and PowerPC, maybe also others) which
do not coincidentally set si_value.sival_int as the syscall number.

To fix this, import the definitions and macros needed from glibc.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45720 3c298f89-4303-0410-b956-a3cf2f4a3e73
toolchain/uClibc/patches-0.9.33.2/995-add-sigsys-to-siginfo_t-union.patch [new file with mode: 0644]