Skip to contentSkip to conversation

anyway to reverse a dontaudit rule?

DISCUSSION Joy Latten 4 participants 4 messages Nov 15, 2006 – Nov 20, 2006 SELinux security module

lore
Share & tools
lore

Joy Latten

author
#0 lore raw

Is there a way to reverse a dontaudit rule without having to modify and recompile base policy?
I need to see the audit message to help determine what permissions are being denied for a particular application.

Regards,
Joy

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

#1 lore raw
Quoted 4 lines · Joy Latten

Is there a way to reverse a dontaudit rule without having to
modify and recompile base policy? I need to see the audit message to help determine what permissions are being denied for a particular application.

No - that is why the enableaudit.pp base policy is provided in /usr/share/selinux/[policyname]/enableaudit.pp. Install that with:

semodule -b path_to_enableaudit

and you should see all denials.

Karl

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

#2 lore raw
Quoted 7 lines · Karl MacMillan
Quoted 5 lines · Joy Latten

Is there a way to reverse a dontaudit rule without having to modify and recompile base policy?
I need to see the audit message to help determine what permissions are being denied for a particular application.

Quoted 6 lines

No - that is why the enableaudit.pp base policy is provided in /usr/share/selinux/[policyname]/enableaudit.pp. Install that with:

semodule -b path_to_enableaudit

and you should see all denials.

Yes. Eventually all of the dontaudits will be made conditional, controlled by a Boolean.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
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.
#3 lore raw
In reply to Karl MacMillan
Quoted 7 lines · Karl MacMillan
Quoted 5 lines · Joy Latten

Is there a way to reverse a dontaudit rule without having to modify and recompile base policy?
I need to see the audit message to help determine what permissions are being denied for a particular application.

Quoted 6 lines

No - that is why the enableaudit.pp base policy is provided in /usr/share/selinux/[policyname]/enableaudit.pp. Install that with:

semodule -b path_to_enableaudit

and you should see all denials.

...that would have been suppressed by dontaudit rules in the base module. But not dontaudit rules in non-base modules.

Signature · 8 lines
Stephen Smalley
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.