Re:Pledge() – a new mitigation mechanism in OpenBSD
by caf on Tuesday November 10, 2015 @12:24AM
(#10537760)
You don't even have to copy the filenames around and mess with changing page permissions - simply doing:
and then whitelisting the pointer dev_null is sufficient, because string literals are stored in the text section which is mapped read-only.
[ Parent
| on HN ]