From: Daniel J Walsh <dwalsh@redhat.com>
To: eparis@redhat.com
Cc: selinux@tycho.nsa.gov
Subject: [PATCH 17/73] sepolgen: audit.py Dont crash if empty data is passed
Date: Tue, 27 Mar 2012 11:05:37 -0400 [thread overview]
Message-ID: <4F71D741.3060809@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This patch looks good to me. acked.
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9x10EACgkQrlYvE4MpobNJqACgl9Iny1pmGGMKSypaCEJt320m
T5cAn3BwldGDPQ7Hpf9FWF/j1IbuIRkx
=NXL5
-----END PGP SIGNATURE-----
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0017-sepolgen-audit.py-Dont-crash-if-empty-data-is-passed.patch --]
[-- Type: text/x-patch; name="0017-sepolgen-audit.py-Dont-crash-if-empty-data-is-passed.patch", Size: 0 bytes --]
reply other threads:[~2012-03-27 15:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F71D741.3060809@redhat.com \
--to=dwalsh@redhat.com \
--cc=eparis@redhat.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.