21f11b304c
- python/sepolicy: Fix spec file dependencies - python/sepolicy: Fix template for confined user policy modules - Improve man pages and add examples Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
From 10fb1da179ab377db96697e79ac45bfdcd251989 Mon Sep 17 00:00:00 2001
|
|
From: Vit Mojzis <vmojzis@redhat.com>
|
|
Date: Thu, 4 May 2023 14:04:50 +0200
|
|
Subject: [PATCH] python/audit2allow: Remove unused "debug" option
|
|
|
|
The option is not referenced anywhere in the code and I couldn't figure
|
|
out its purpose from the description.
|
|
|
|
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
|
|
---
|
|
python/audit2allow/audit2allow | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/python/audit2allow/audit2allow b/python/audit2allow/audit2allow
|
|
index eafeea88..5587a2db 100644
|
|
--- a/python/audit2allow/audit2allow
|
|
+++ b/python/audit2allow/audit2allow
|
|
@@ -88,8 +88,6 @@ class AuditToPolicy:
|
|
parser.add_option("--interface-info", dest="interface_info", help="file name of interface information")
|
|
parser.add_option("-x", "--xperms", action="store_true", dest="xperms",
|
|
default=False, help="generate extended permission rules")
|
|
- parser.add_option("--debug", dest="debug", action="store_true", default=False,
|
|
- help="leave generated modules for -M")
|
|
parser.add_option("-w", "--why", dest="audit2why", action="store_true", default=(os.path.basename(sys.argv[0]) == "audit2why"),
|
|
help="Translates SELinux audit messages into a description of why the access was denied")
|
|
|
|
--
|
|
2.40.0
|
|
|