aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2016-11-30 22:36:33 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-11-30 22:36:33 +0000
commit7e19aaa8f3f1f8591401785b12588a6f5d571194 (patch)
tree01a023bf3c45011da72efe41dc53eed17450941c
parentba738bb2f26203f00081005944fab9078988626f (diff)
parentd76e46df58ad7a879fa581b89819aaebf2f8c4b3 (diff)
downloadjemalloc-7e19aaa8f3f1f8591401785b12588a6f5d571194.tar.gz
Merge "Do not allow jemalloc to use syscall."
-rw-r--r--include/jemalloc/internal/jemalloc_internal_defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h b/include/jemalloc/internal/jemalloc_internal_defs.h
index 7512644..2c1d8be 100644
--- a/include/jemalloc/internal/jemalloc_internal_defs.h
+++ b/include/jemalloc/internal/jemalloc_internal_defs.h
@@ -77,7 +77,8 @@
/* #undef JEMALLOC_OSSPIN */
/* Defined if syscall(2) is available. */
-#define JEMALLOC_HAVE_SYSCALL
+/* Syscalls are available in Android, but avoid them for security reasons. */
+/* #undef JEMALLOC_HAVE_SYSCALL */
/*
* Defined if secure_getenv(3) is available.