uClibc: add signal info for seccomp related SIGSYS
authorJohn Crispin <john@openwrt.org>
Sat, 23 May 2015 15:26:19 +0000 (15:26 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 23 May 2015 15:26:19 +0000 (15:26 +0000)
commit6ab2bcfe72dbe442bf74cd4e1208367104699e00
tree8ee009c8e7db008ab787fc0ea86fa6f7ad335578
parent86b573fa31e0cad026f0d5e8838bbe96f671b023
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>
SVN-Revision: 45720
toolchain/uClibc/patches-0.9.33.2/995-add-sigsys-to-siginfo_t-union.patch [new file with mode: 0644]