mirror of
https://github.com/topjohnwu/selinux.git
synced 2025-01-31 08:24:09 +00:00
df45dcdf3d
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>