* New strategy for enableaudit.
@ 2005-12-17 13:52 Daniel J Walsh
2005-12-17 15:30 ` Ivan Gyurdiev
0 siblings, 1 reply; 5+ messages in thread
From: Daniel J Walsh @ 2005-12-17 13:52 UTC (permalink / raw)
To: SE Linux
I have added enableaudit to Rules.modular to create a base.conf without
audit rules.
Then in the Fedora spec file I create a regulare base.pp and a
enableaudit.pp.
I ship both in the RPM.
Now the user can execute
semodule -b /usr/share/selinux/targeted/enableaudit.pp
To turn off the dontaudit rules.
Dan
--
--
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
* Re: New strategy for enableaudit.
2005-12-17 13:52 New strategy for enableaudit Daniel J Walsh
@ 2005-12-17 15:30 ` Ivan Gyurdiev
2005-12-17 15:22 ` Daniel J Walsh
0 siblings, 1 reply; 5+ messages in thread
From: Ivan Gyurdiev @ 2005-12-17 15:30 UTC (permalink / raw)
To: Daniel J Walsh; +Cc: SE Linux
Daniel J Walsh wrote:
> I have added enableaudit to Rules.modular to create a base.conf
> without audit rules.
>
> Then in the Fedora spec file I create a regulare base.pp and a
> enableaudit.pp.
> I ship both in the RPM.
>
> Now the user can execute
>
> semodule -b /usr/share/selinux/targeted/enableaudit.pp
>
> To turn off the dontaudit rules.
>
What about audit rules in modules...
--
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
* Re: New strategy for enableaudit.
2005-12-17 15:30 ` Ivan Gyurdiev
@ 2005-12-17 15:22 ` Daniel J Walsh
2005-12-17 15:58 ` Ivan Gyurdiev
0 siblings, 1 reply; 5+ messages in thread
From: Daniel J Walsh @ 2005-12-17 15:22 UTC (permalink / raw)
To: Ivan Gyurdiev; +Cc: SE Linux
Ivan Gyurdiev wrote:
> Daniel J Walsh wrote:
>> I have added enableaudit to Rules.modular to create a base.conf
>> without audit rules.
>>
>> Then in the Fedora spec file I create a regulare base.pp and a
>> enableaudit.pp.
>> I ship both in the RPM.
>>
>> Now the user can execute
>>
>> semodule -b /usr/share/selinux/targeted/enableaudit.pp
>>
>> To turn off the dontaudit rules.
>>
> What about audit rules in modules...
>
This is only a short term solution until we get boolean support for
dontaudit rules. But modules could do the same thing. This
gives me the ability to debug problems being covered by dontaudit rules
for now though.
Dan
--
--
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
* Re: New strategy for enableaudit.
2005-12-17 15:22 ` Daniel J Walsh
@ 2005-12-17 15:58 ` Ivan Gyurdiev
2005-12-18 22:35 ` Joshua Brindle
0 siblings, 1 reply; 5+ messages in thread
From: Ivan Gyurdiev @ 2005-12-17 15:58 UTC (permalink / raw)
To: Daniel J Walsh; +Cc: SE Linux
> This is only a short term solution until we get boolean support for
> dontaudit rules. But modules could do the same thing. This
> gives me the ability to debug problems being covered by dontaudit
> rules for now though.
So what's the planned solution using boolean support?
There's a number of things that could be done here...
Are you thinking of the module compiler placing dontaudit rules in a
conditional block, based on a shared (base) boolean?
--
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
* Re: New strategy for enableaudit.
2005-12-17 15:58 ` Ivan Gyurdiev
@ 2005-12-18 22:35 ` Joshua Brindle
0 siblings, 0 replies; 5+ messages in thread
From: Joshua Brindle @ 2005-12-18 22:35 UTC (permalink / raw)
To: Ivan Gyurdiev; +Cc: Daniel J Walsh, SE Linux
Ivan Gyurdiev wrote:
>
>> This is only a short term solution until we get boolean support for
>> dontaudit rules. But modules could do the same thing. This
>> gives me the ability to debug problems being covered by dontaudit
>> rules for now though.
>
> So what's the planned solution using boolean support?
> There's a number of things that could be done here...
>
> Are you thinking of the module compiler placing dontaudit rules in a
> conditional block, based on a shared (base) boolean?
>
not automatically; the refpolicy should just have all dontaudits under a
specific boolean. This will be easier when nested conditionals are
available.
--
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:[~2005-12-18 22:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-17 13:52 New strategy for enableaudit Daniel J Walsh
2005-12-17 15:30 ` Ivan Gyurdiev
2005-12-17 15:22 ` Daniel J Walsh
2005-12-17 15:58 ` Ivan Gyurdiev
2005-12-18 22:35 ` Joshua Brindle
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.