From: Tanel Kokk <tanel.kokk@seb.ee>
To: SELinux@tycho.nsa.gov
Subject: Sendmail & SELinux policies
Date: Thu, 06 Apr 2006 12:09:24 +0300 [thread overview]
Message-ID: <4434DAC4.6090006@seb.ee> (raw)
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.
next reply other threads:[~2006-04-06 9:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-06 9:09 Tanel Kokk [this message]
2006-04-06 11:40 ` Sendmail & SELinux policies Stephen Smalley
2006-04-06 11:49 ` Tanel Kokk
2006-04-06 12:14 ` Stephen Smalley
2006-04-06 12:23 ` Tanel Kokk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4434DAC4.6090006@seb.ee \
--to=tanel.kokk@seb.ee \
--cc=SELinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.