diff options
author | Christopher Ferris <cferris@google.com> | 2016-11-30 22:51:14 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-11-30 22:51:14 +0000 |
commit | 62e2729638c7dfbe075c416e94fa3d78c8627871 (patch) | |
tree | 01a023bf3c45011da72efe41dc53eed17450941c | |
parent | 6b5a3c06c42a31d82e987e806d4a94999e4d614f (diff) | |
parent | a38df5249e46ef92ddd9857d2217cc5c65ca6e3f (diff) | |
download | jemalloc-62e2729638c7dfbe075c416e94fa3d78c8627871.tar.gz |
Merge "Do not allow jemalloc to use syscall." am: 7e19aaa8f3 am: b5d0373650
am: a38df5249e
Change-Id: Ib26ba7fa8559c1ffe60f77858b12efb945c8a134
-rw-r--r-- | include/jemalloc/internal/jemalloc_internal_defs.h | 3 |
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. |