diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2013-11-12 21:20:50 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-11-12 21:20:50 +0000 |
commit | 6974bd4f5fae1e78791cf64a6aebc1da2ded25fe (patch) | |
tree | b65558c6821409011cbf9214f025551aee96b225 /configure.ac | |
parent | 840a253bacdd107f90628dd3d5371d03fdca48ab (diff) | |
download | strace-6974bd4f5fae1e78791cf64a6aebc1da2ded25fe.tar.gz strace-6974bd4f5fae1e78791cf64a6aebc1da2ded25fe.tar.bz2 strace-6974bd4f5fae1e78791cf64a6aebc1da2ded25fe.tar.xz |
Make PTRACE_PEEKUSER/PTRACE_POKEUSER checks less glibc specific
* configure.ac (AC_CHECK_DECLS): Add PTRACE_PEEKUSER and
PTRACE_POKEUSER.
* defs.h: Define PTRACE_PEEKUSER and PTRACE_POKEUSER only if
they are not provided by <sys/ptrace.h>.
Reported by John Spencer.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0cee6c5..3ea1956 100644 --- a/configure.ac +++ b/configure.ac @@ -274,6 +274,8 @@ AC_CHECK_DECLS(m4_normalize([ PTRACE_O_TRACEFORK, PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEVFORK, + PTRACE_PEEKUSER, + PTRACE_POKEUSER, PTRACE_SETOPTIONS ]),,, [#include <sys/ptrace.h>]) |