Skip to contentSkip to conversation

policycoreutils audit2allow patch

PATCH Daniel J Walsh 2 participants 2 messages Nov 7, 2008 – Nov 10, 2008 SELinux security module

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

audit2why can throw a runtime exception and typo in man page. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkkUUnwACgkQrlYvE4MpobNB3gCg1gVyqHVlNPHofR7iDktfmKSF cTQAniHIYf8nq+nbB9MC0mlVbyvEECMX
=JXfF
-----END PGP SIGNATURE-----

audit2allow/audit2allow +5 -1
@@ -287,7 +287,11 @@
     def __output(self):
         
         if self.__options.audit2why:
-            return self.__output_audit2why()
+            try:
+                return self.__output_audit2why()
+            except RuntimeError, e:
+                print e
+                sys.exit(1)
 
         g = policygen.PolicyGenerator()
 
audit2allow/audit2allow.1 +1 -1
@@ -82,7 +82,7 @@
 Indicates input file is a te (type enforcement) file.  This can be used to translate old te format to new policy format.
 .TP
 .B "\-w" | "\-\-why"
-Translates SELinux audit messages into a description of why the access wasn denied
+Translates SELinux audit messages into a description of why the access was denied
 
 .TP
 .B "\-v" | "\-\-verbose"
#1 lore raw
Quoted 8 lines · Daniel J Walsh

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

audit2why can throw a runtime exception and typo in man page. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

Quoted 5 lines

iEYEARECAAYFAkkUUnwACgkQrlYvE4MpobNB3gCg1gVyqHVlNPHofR7iDktfmKSF cTQAniHIYf8nq+nbB9MC0mlVbyvEECMX
=JXfF
-----END PGP SIGNATURE-----

Merged in to policycoreutils-2.0.58

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.