Re: [Fwd: [Patch] libsemanage: remember and retrieve dontaudit settings]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/01/2009 01:04 PM, Stephen Smalley wrote:
On Wed, 2009-07-01 at 11:57 -0400, Daniel J Walsh wrote:
On 07/01/2009 09:32 AM, Christopher Pardy wrote:
Creates a empty file disable_dontaudit in the polciy directory
(/etc/selinux/<policytype>). Checks for the existance of this file to
set the sepol disable don't audit upon handle creation. Also provides
the function "int semanage_get_disable_dontaudit()" which returns the
don't audit property of the current policy.

Signed-off-by: Christopher Pardy<cpardy@xxxxxxxxxx>
Better version of patch.

How does one then re-enable dontaudit rules using semodule or semanage?

We've trained our users to do the following sequence:
	semodule -DB
	<trigger AVC denials>
	semodule -B

With the patch, the latter step will not re-enable dontaudit rules
unless you also change semodule, right?

Ok you are right, We need to change semodule -B to enable set turn the flag off.



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

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux