by spender » Fri Mar 22, 2002 6:22 pm
ok we have a fix for your problem that will be in grsecurity 1.9.5. I'm going to start doing developer releases (really just consider them stable releases in shorter time periods, since I run them successfully on my own system) so when that's done, you can just download that. If you'd like to fix it now, do the following:
in /usr/src/linux/mm/mmap.c
find the line:
#ifdef CONFIG_GRKERNSEC_MMAPFIXED
the second and 3rd lines after that should be removed. one is a security alert and the other is an error return. Replace those two lines with the following:
prot &= ~PROT_EXEC;
vm_flags &= ~VM_MAYEXEC;