summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2022-08-25 12:37:19 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2022-08-25 12:37:19 -0600
commit54d2641cc7a1272f5064bb0e67758c37d45f3d32 (patch)
tree736b9ac1396b196a69d0686147f8d133814aa41b /config.h.in
parentf8a61ed32c1b79e546595c2964c07d99ce4efc63 (diff)
downloadsudo-54d2641cc7a1272f5064bb0e67758c37d45f3d32.tar.gz
Use process_vm_readv(2) and process_vm_writev(2) if available.
This is faster than reading/writing from/to the remote process one word at a time using PTRACE_PEEKDATA and PTRACE_POKEDATA.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index c9c024a15..b2fd69e34 100644
--- a/config.h.in
+++ b/config.h.in
@@ -686,6 +686,9 @@
/* Define to 1 if you have the `priv_set' function. */
#undef HAVE_PRIV_SET
+/* Define to 1 if you have the `process_vm_readv' function. */
+#undef HAVE_PROCESS_VM_READV
+
/* Define to 1 if you have the <procfs.h> header file. */
#undef HAVE_PROCFS_H