Commit | Line | Data |
---|---|---|
a5661943 FF |
1 | See https://github.com/libffi/libffi/pull/265 |
2 | ||
3 | diff -u -r ../libffi-60e4250a77eb3fde500bfd68ec40519fe34b21bd/src/closures.c ./src/closures.c | |
4 | --- ../libffi-60e4250a77eb3fde500bfd68ec40519fe34b21bd/src/closures.c 2016-09-04 09:34:18.000000000 -0400 | |
5 | +++ ./src/closures.c 2016-09-14 16:51:05.956548790 -0400 | |
6 | @@ -55,7 +55,7 @@ | |
7 | #endif | |
8 | ||
9 | #if FFI_MMAP_EXEC_WRIT && !defined FFI_MMAP_EXEC_SELINUX | |
10 | -# ifdef __linux__ | |
11 | +# if defined(__linux__) && !defined(__ANDROID__) | |
12 | /* When defined to 1 check for SELinux and if SELinux is active, | |
13 | don't attempt PROT_EXEC|PROT_WRITE mapping at all, as that | |
14 | might cause audit messages. */ |