Strange Denial
What's this?
audit(1107188820.754:0): avc: denied { } for pid=6672 comm=mplayer path=/dev/zero dev=tmpfs ino=2055 scontext=user_u:user_r:user_mplayer_t tcontext=system_u:object_r:zero_device_t tclass=chr_file
Signature · 8 lines
Ivan Gyurdiev <[email protected]> Cornell University -- 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.
Quoted 5 lines · Ivan Gyurdiev
What's this?
audit(1107188820.754:0): avc: denied { } for pid=6672 comm=mplayer path=/dev/zero dev=tmpfs ino=2055 scontext=user_u:user_r:user_mplayer_t tcontext=system_u:object_r:zero_device_t tclass=chr_file
Hmmm...possibly an execmod denial, e.g. mplayer is trying to make executable a previously modified mapping of /dev/zero. execmod permission is only defined for the file class presently, didn't expect to have to deal with doing this on devices...
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- 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.
Quoted 11 lines · Stephen Smalley
Quoted 5 lines · Ivan Gyurdiev
What's this?
audit(1107188820.754:0): avc: denied { } for pid=6672 comm=mplayer path=/dev/zero dev=tmpfs ino=2055 scontext=user_u:user_r:user_mplayer_t tcontext=system_u:object_r:zero_device_t tclass=chr_file
Hmmm...possibly an execmod denial, e.g. mplayer is trying to make executable a previously modified mapping of
/dev/zero. execmod permission is only defined for the file class presently, didn't expect to have to deal with doing this on devices...
Apply the patch below to your policy, then you can allow execmod to zero_device_t:chr_file in it. Kernel still won't handle audit messages properly until it is updated...
Index: policy/flask/access_vectors
===================================================================
RCS file: /nfshome/pal/CVS/selinux-usr/policy/flask/access_vectors,v retrieving revision 1.17
flask/access_vectors +5 -0
@@ -126,6 +126,11 @@ class chr_file inherits file +{ + execute_no_trans + entrypoint + execmod +} class blk_file inherits file
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- 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.