Re:The Ten Commandments for C Programmers (Annotated Edition)
by meastham on Saturday November 06, 2010 @07:58PM
(#1878134)
Even if this were desirable, it would make much more sense for the OS (or C library) to do it rather than have it enforced by the hardware.
(edit) or, you could do it yourself. The following works for me on Linux: http://pastie.org/1278260. You may have to alter /proc/sys/vm/mmap_min_addr and/or your SELinux policy.
(edit) or, you could do it yourself. The following works for me on Linux: http://pastie.org/1278260. You may have to alter /proc/sys/vm/mmap_min_addr and/or your SELinux policy.