diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2018-07-04 17:55:31 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2018-08-10 16:02:45 +0200 |
commit | 5b9a9801a4867af70c9ed55379b3eaa3dba59ef3 (patch) | |
tree | d408f2e9f64dc5ab9e973232fb8353b29e547119 /libc/sysdeps/linux/mips/vfork.S | |
parent | fcecd012a6944eab8912787ca668b280e7233a8d (diff) |
nptl: disable mprotect usage in stack protection
Since mprotect does not work on MMU-less systems, disable it if
__ARCH_USE_MMU__ is not defined.
* libpthread/nptl/allocatestack.c (change_stack_perm): Call
mprotect only if __ARCH_USE_MMU__ is defined.
(allocate_stack): Likewise.
Signed-off-by: Mickaël Guêné <mickael.guene@st.com>
Signed-off-by: Christophe Lyon <christophe.lyon@st.com>
Diffstat (limited to 'libc/sysdeps/linux/mips/vfork.S')
0 files changed, 0 insertions, 0 deletions