Skip to contentSkip to conversation

Busted by constraints.

DISCUSSION Casey Schaufler 1 participant 1 message May 13, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · --- Stephen Smalley

audit2why/libsepol actually acts on the binary policy file, and libsepol
has the same policy engine code as the kernel, but I understand your
concern about matching up with the policy that was in effect at the time
of the denial.

Since the policy is a variable in the security
lattice it needs to be included in the audit
information.

Quoted 4 lines

However, keep in mind that:
a) keeping a versioned repository of your policies is a good idea
independent of this issue,

Sure, just as versioned repositories of your
users and system installation is a good idea.

Quoted 7 lines

b) we are only trying to identify what component of the policy caused a
denial (e.g. Type Enforcement, RBAC, or constraint), and this is not
likely to be highly variable across policy changes/upgrades for a given
denial.

The likelyhood of change does not discount the
threat of change.

Quoted 6 lines

It might be useful if the kernel audit messages
included some kind of
policy identifier / hash that could be used in
correlating against a
versioned repository of policies. That wouldn't be
difficult.

Your audit message should explicitly identify
what policy resulted in any failure.

Quoted 4 lines
Quoted 1 line

Enjoy. It's pretty pointless.

To the contrary, it specifically addresses Dan's
problem

OKay, it's a valuable debug tool until such
time as you repair the audit records.

Casey Schaufler
[email protected]

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--
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.