aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.