/usr/bin/prelink denied exec mmap

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

/usr/bin/prelink denied exec mmap

Postby muaddib » Fri Sep 16, 2005 5:05 am

Hi all,

I'm having a little problem with prelink

Here is the logged line :
kernel: grsec: (default:D:/usr/sbin/prelink) denied executable mmap of
/etc/prelink.cache by /usr/sbin/prelink[prelink:16709] uid/euid:0/0 gid/egid:0/0, parent
/etc/cron.daily/prelink[prelink:28394] uid/euid:0/0 gid/egid:0/0

And here is what i wrote in policy file (i know there are too many allowed rights, i was just trying to get it working)

subject /etc/cron.daily/prelink {
/dev/log rw
/var/log rwcdal
/etc rcw
/etc/prelink.cache rcdwx
/usr/sbin/prelink rx
/sbin r
/etc/ld.so.cache rx
}

subject /etc/cron.daily/prelink:/usr/sbin/prelink oO {
/dev/log rw
/var/log rwcdal
/etc rcw
/etc/prelink.cache rlcdwx
/sbin r
/etc/ld.so.cache rx
}


May be it's an easy question but if someone could help, i would be grateful
muaddib
 
Posts: 11
Joined: Fri Jan 30, 2004 11:59 am

Return to grsecurity support