[grsec] mprotect, libapreq2

pageexec at freemail.hu pageexec at freemail.hu
Tue May 13 17:28:42 EDT 2008


On 8 May 2008 at 13:28, xyon wrote:
> I'm getting the famous "permission denied" due to mprotect after installing 
> libapreq2 on CentOS 4.5:
> 
> Cannot load /etc/httpd/modules/mod_apreq2.so into server: libapreq2.so.2: 
> cannot enable executable stack as shared object requires: Permission denied
> 
> Of course, turning off mprotect on httpd rids me of the error, but I feel 
> extremely uneasy disabling mprotect on a publicly visible service. Does 
> anyone have alternative suggestions? I have all other pax features enabled in 
> the kernel (except trampolines), are they sufficient w/o mprotect in your 
> opinion?

search the forum, solutions have been discussed many times. for a start,
execstack -c.



More information about the grsecurity mailing list