Check for __mprotect failure in _dl_map_segments [BZ #20831]
commit9ace4692b2fa96c1c92177bb51e5e36680de25ad
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 16 Nov 2016 22:49:25 +0000 (16 22:49 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 9 Apr 2017 23:34:33 +0000 (9 23:34 +0000)
tree5f0d056b2ab3aff4276e9b585abf615572f3ee4c
parentbf7730194fed694a9ce821c306683266a5a7b78b
Check for __mprotect failure in _dl_map_segments [BZ #20831]

* elf/dl-map-segments.h (_dl_map_segments): Check for failure
of __mprotect to change protection on the excess portion
to disallow all access.
ChangeLog
elf/dl-map-segments.h