All of lore.kernel.org
 help / color / mirror / Atom feed
* Sendmail & SELinux policies
@ 2006-04-06  9:09 Tanel Kokk
  2006-04-06 11:40 ` Stephen Smalley
  0 siblings, 1 reply; 5+ messages in thread
From: Tanel Kokk @ 2006-04-06  9:09 UTC (permalink / raw)
  To: SELinux

Hello

I made SELinux policies for sendmail on CentOS (seemed, that 
target-policy contains somekind of incomplete policy for sendmail)

Mostly it seems work fine. however some times I find selinux audit-logs 
from dmesg:

audit(1144310301.564:2): avc:  denied  { getattr } for  pid=11789 
comm="sendmail" name="null" dev=sda2 ino=293212 
scontext=user_u:system_r:sendmail_t tcontext=system_u:object_r:device_t 
tclass=chr_file
audit(1144310301.564:3): avc:  denied  { ioctl } for  pid=11789 
comm="sendmail" name="null" dev=sda2 ino=293212 
scontext=user_u:system_r:sendmail_t tcontext=system_u:object_r:device_t 
tclass=chr_file

audit2allow get:
allow sendmail_t device_t:chr_file { getattr ioctl };

However I have this line in ./src/policy/domains/program/local.te:
allow sendmail_t device_t:chr_file { read write getattr ioctl };

As I understand I already have allowing policy record for this 
situation. Why I still got this denied messages for sendmail_t?


-- 
Tanel Kokk


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-06 12:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-06  9:09 Sendmail & SELinux policies Tanel Kokk
2006-04-06 11:40 ` Stephen Smalley
2006-04-06 11:49   ` Tanel Kokk
2006-04-06 12:14     ` Stephen Smalley
2006-04-06 12:23       ` Tanel Kokk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.