executing /dev/zero
avc: denied { execute } for pid=3927 exe=/usr/bin/mplayer path=/zero dev=00:06 ino=12 scontext=faye:staff_r:staff_t tcontext=system_u:object_r:zero_device_t tclass=chr_file
It seems that mplayer is requesting execute access to /dev/zero for some reason. I guess it's mmaping it to allocate memory and then executing code in that memory region.
It works OK without the access, but is there any reason for allowing it? I'm not sure whether I should give it an allow or dontaudit rule...
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
allow local_user_t zero_device_t:chr_file { execute };
I had to do the same thing for something i cant recall on my slackware X workstation, I tracked it down to the exact same thing, but its not mplayer ;) Ill see if i can backtrace and see what it was that needed this. It could very well be quake3 or some opengl application, but ill check this. On a side note the Owl TCB implementation for pam is working great with selinux, we have at least 3 workstations running this daily now.
Quoted 10 lines · Russell Coker
avc: denied { execute } for pid=3927 exe=/usr/bin/mplayer path=/zero dev=00:06 ino=12 scontext=faye:staff_r:staff_t tcontext=system_u:object_r:zero_device_t tclass=chr_file
It seems that mplayer is requesting execute access to
/dev/zerofor some reason. I guess it's mmaping it to allocate memory and then executing code in that memory region.It works OK without the access, but is there any reason for allowing it? I'm not sure whether I should give it an allow or dontaudit rule...
Signature · 2 lines
Jack <[email protected]> RaptureSecurity