aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-08-12 21:56:05 -0400
committerMike Frysinger <vapier@gentoo.org>2012-08-12 21:56:43 -0400
commit53179a50a1a3e7a21e71cea6de46468deee87c69 (patch)
treeea636b0cf902e883740f058931426e7b87cb579e /configure.ac
parentlibsandbox: fix hppa trace code (diff)
downloadsandbox-53179a50a1a3e7a21e71cea6de46468deee87c69.tar.gz
sandbox-53179a50a1a3e7a21e71cea6de46468deee87c69.tar.bz2
sandbox-53179a50a1a3e7a21e71cea6de46468deee87c69.zip
libsandbox: use process_vm_readv if available
Should speed up loading of strings from remote processes as we only have to do (usually) one syscall to extract the whole string in one shot. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 65811dc..3529dcf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,6 +105,7 @@ AC_CHECK_HEADERS_ONCE(m4_flatten([
sys/syscall.h
sys/time.h
sys/types.h
+ sys/uio.h
sys/user.h
sys/wait.h
asm/ptrace.h
@@ -168,6 +169,7 @@ AC_CHECK_FUNCS_ONCE(m4_flatten([
openat
openat64
pathconf
+ process_vm_readv
ptrace
realpath
remove