Re: [PATCH] siginfo: add signal info for seccomp related SIGSYS
Bernhard Reutner-Fischer <[email protected]> Tue, 26 May 2015 22:28:53 +0200
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun, May 17, 2015 at 10:49:23PM +0200, Daniel Golle wrote: > 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. Applied, thanks!