You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.4 KiB
30 lines
1.4 KiB
From 52da97653bd64bcc603ab7e0b5c08cb687b833ab 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 |
|
Content-type: text/plain |
|
|
|
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 eafeea88aa21..5587a2dbb006 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.41.0 |
|
|
|
|