diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2014-03-11 22:18:40 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-03-11 22:18:40 +0000 |
commit | bc091e3ce1481615568ef6e35636fc45262250ff (patch) | |
tree | b3edd4fc76f4f58e288c4701e6b3bfe79e23e743 /configure.ac | |
parent | b9d4d21a611e852e4ef6c021688e4f45f9a137ed (diff) | |
download | strace-bc091e3ce1481615568ef6e35636fc45262250ff.tar.gz strace-bc091e3ce1481615568ef6e35636fc45262250ff.tar.bz2 strace-bc091e3ce1481615568ef6e35636fc45262250ff.tar.xz |
printsiginfo: add SIGSYS decoding
* configure.ac (AC_CHECK_MEMBERS): Check for siginfo_t.si_syscall.
* signal.c (SYS_SECCOMP): Define if not yet defined.
(sigsys_codes): new xlat structure.
(printsiginfo): Decode SIGSYS.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 682f54e..39832ef 100644 --- a/configure.ac +++ b/configure.ac @@ -256,7 +256,8 @@ AC_CHECK_TYPES([struct user_desc],,, [#include <asm/ldt.h>]) AC_CHECK_MEMBERS([struct utsname.domainname],,, [#include <sys/utsname.h>]) AC_CHECK_MEMBERS([struct sigevent._sigev_un._pad, - struct sigevent.__pad],,, [#include <signal.h>]) + struct sigevent.__pad, + siginfo_t.si_syscall],,, [#include <signal.h>]) AC_CHECK_TYPES([struct flock64],,, [#include <fcntl.h>]) |