platform_external_selinux/sepolgen
Dan Walsh df45dcdf3d sepolgen: audit.py Dont crash if empty data is passed to sepolgen
If you pass output from a log file that does not include any avc's
audit2allow will crash.  This patch fixes this problem.

ausearch -m avc -ts recent | audit2allow

If there was no AVC's recently, we do not want the python to crash.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2012-03-28 14:52:12 -04:00
..
src sepolgen: audit.py Dont crash if empty data is passed to sepolgen 2012-03-28 14:52:12 -04:00
tests sepolgen unit tests fail 2010-03-24 13:43:53 -04:00
ChangeLog update VERSION and Changelog for public push 2011-12-21 12:46:04 -05:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
HACKING checkpolicy: libselinux: Fix dead links to www.nsa.gov/selinux 2012-03-28 08:39:07 -04:00
Makefile initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
VERSION update VERSION and Changelog for public push 2011-12-21 12:46:04 -05:00