Author: Daniel J Walsh
Email: dwalsh@redhat.com Subject: policycoreutils audit2allow patch Date: Fri, 07 Nov 2008 09:36:44 -0500 audit2why can throw a runtime exception and typo in man page. Signed-off-by: Joshua Brindle <method@manicmethod.com>
This commit is contained in:
parent
bcd43e0bf1
commit
cb69455465
|
@ -287,7 +287,11 @@ class AuditToPolicy:
|
||||||
def __output(self):
|
def __output(self):
|
||||||
|
|
||||||
if self.__options.audit2why:
|
if self.__options.audit2why:
|
||||||
return self.__output_audit2why()
|
try:
|
||||||
|
return self.__output_audit2why()
|
||||||
|
except RuntimeError, e:
|
||||||
|
print e
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
g = policygen.PolicyGenerator()
|
g = policygen.PolicyGenerator()
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ This attempts to match denials against interfaces and may be inaccurate.
|
||||||
Indicates input file is a te (type enforcement) file. This can be used to translate old te format to new policy format.
|
Indicates input file is a te (type enforcement) file. This can be used to translate old te format to new policy format.
|
||||||
.TP
|
.TP
|
||||||
.B "\-w" | "\-\-why"
|
.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
|
.TP
|
||||||
.B "\-v" | "\-\-verbose"
|
.B "\-v" | "\-\-verbose"
|
||||||
|
|
Loading…
Reference in New Issue