diff options
author | 2021-10-24 18:02:11 -0400 | |
---|---|---|
committer | 2021-10-25 02:23:30 -0400 | |
commit | 03e14b50b395669ca2ee2849230aa00826c763b2 (patch) | |
tree | 0ea670bab5908cba30561fa0ffac88e3a287755d /configure.ac | |
parent | libsandbox: add sparc personality support (diff) | |
download | sandbox-03e14b50b395669ca2ee2849230aa00826c763b2.tar.gz sandbox-03e14b50b395669ca2ee2849230aa00826c763b2.tar.bz2 sandbox-03e14b50b395669ca2ee2849230aa00826c763b2.zip |
libsandbox: use PTRACE_GET_SYSCALL_INFO when available
This is a generic interface for all arches, but it only supports
reading settings currently. We can at least detect failures which
is better than nothing.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f43923c..254104d 100644 --- a/configure.ac +++ b/configure.ac @@ -165,6 +165,7 @@ AC_CHECK_TYPES([sighandler_t, sig_t, __sighandler_t],,,[#include <signal.h>]) save_CPPFLAGS=$CPPFLAGS CPPFLAGS="-I$srcdir $CPPFLAGS" +AC_CHECK_TYPES([struct ptrace_syscall_info],,,[#include "headers.h"]) AC_CHECK_TYPES([struct user_regs_struct, struct pt_regs],,,[#include "headers.h"]) AC_CHECK_SIZEOF([struct user_regs_struct],,[#include "headers.h"]) AC_CHECK_SIZEOF([struct pt_regs],,[#include "headers.h"]) |