* [PATCH] sepolgen: process USER_AVC messages
@ 2007-03-01 16:59 Karl MacMillan
2007-03-01 19:13 ` Karl MacMillan
0 siblings, 1 reply; 2+ messages in thread
From: Karl MacMillan @ 2007-03-01 16:59 UTC (permalink / raw)
To: SELinux List
This patch adds USER_AVC messages to the message types parsed by
sepolgen.
diff -r 9bb2118cf4a4 sepolgen/src/sepolgen/audit.py
--- a/sepolgen/src/sepolgen/audit.py Thu Mar 01 11:33:49 2007 -0500
+++ b/sepolgen/src/sepolgen/audit.py Thu Mar 01 11:58:51 2007 -0500
@@ -32,7 +32,7 @@ def get_audit_msgs():
string contain all of the audit messages returned by ausearch.
"""
import subprocess
- output = subprocess.Popen(["/sbin/ausearch", "-m", "AVC,MAC_POLICY_LOAD,DAEMON_START"],
+ output = subprocess.Popen(["/sbin/ausearch", "-m", "AVC,USER_AVC,MAC_POLICY_LOAD,DAEMON_START"],
stdout=subprocess.PIPE).communicate()[0]
return output
--
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] 2+ messages in thread
* Re: [PATCH] sepolgen: process USER_AVC messages
2007-03-01 16:59 [PATCH] sepolgen: process USER_AVC messages Karl MacMillan
@ 2007-03-01 19:13 ` Karl MacMillan
0 siblings, 0 replies; 2+ messages in thread
From: Karl MacMillan @ 2007-03-01 19:13 UTC (permalink / raw)
To: SELinux List
On Thu, 2007-03-01 at 11:59 -0500, Karl MacMillan wrote:
> This patch adds USER_AVC messages to the message types parsed by
> sepolgen.
>
> diff -r 9bb2118cf4a4 sepolgen/src/sepolgen/audit.py
> --- a/sepolgen/src/sepolgen/audit.py Thu Mar 01 11:33:49 2007 -0500
> +++ b/sepolgen/src/sepolgen/audit.py Thu Mar 01 11:58:51 2007 -0500
> @@ -32,7 +32,7 @@ def get_audit_msgs():
> string contain all of the audit messages returned by ausearch.
> """
> import subprocess
> - output = subprocess.Popen(["/sbin/ausearch", "-m", "AVC,MAC_POLICY_LOAD,DAEMON_START"],
> + output = subprocess.Popen(["/sbin/ausearch", "-m", "AVC,USER_AVC,MAC_POLICY_LOAD,DAEMON_START"],
> stdout=subprocess.PIPE).communicate()[0]
> return output
>
This and the other two patches for refpolicy output style and interface
call parameter extraction were merged into trunk.
Karl
--
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] 2+ messages in thread
end of thread, other threads:[~2007-03-01 19:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-01 16:59 [PATCH] sepolgen: process USER_AVC messages Karl MacMillan
2007-03-01 19:13 ` Karl MacMillan
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.