aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2016-11-30 22:42:19 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-11-30 22:42:19 +0000
commitb5d0373650f3274c28b4355533e70ae3e745f039 (patch)
tree01a023bf3c45011da72efe41dc53eed17450941c /include
parent7b855b38b6e9f73b913d2553b66acebcf0f738fa (diff)
parent7e19aaa8f3f1f8591401785b12588a6f5d571194 (diff)
downloadjemalloc-b5d0373650f3274c28b4355533e70ae3e745f039.tar.gz
Merge "Do not allow jemalloc to use syscall."
am: 7e19aaa8f3 Change-Id: I4f1ff365b48799659461d6eb88431ece37804286
Diffstat (limited to 'include')
-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.