[Bug dynamic-link/20831] _dl_map_segments does not test for __mprotect failures consistently
ldv at sourceware dot org
sourceware-bugzilla@sourceware.org
Wed Nov 16 23:57:00 GMT 2016
https://sourceware.org/bugzilla/show_bug.cgi?id=20831
--- Comment #1 from Dmitry V. Levin <ldv at sourceware dot org> ---
Expected behavior:
$ strace -e mprotect -e fault=mprotect:when=1:error=ENOMEM cat </dev/null
mprotect(0xf774e000, 4096, PROT_NONE) = -1 ENOMEM (Cannot allocate memory)
(INJECTED)
/bin/cat: error while loading shared libraries: libc.so.6: cannot change memory
protections
+++ exited with 127 +++
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list