2023-01-02 14:45:06 +00:00
|
|
|
From 8c4d5bbcca80017c9a9aa412c2d05a19f6dbf47e Mon Sep 17 00:00:00 2001
|
2020-10-14 23:23:12 +00:00
|
|
|
From: Miroslav Grepl <mgrepl@redhat.com>
|
|
|
|
Date: Mon, 12 May 2014 14:11:22 +0200
|
|
|
|
Subject: [PATCH] If there is no executable we don't want to print a part of
|
|
|
|
STANDARD FILE CONTEXT
|
2022-05-19 18:25:34 +00:00
|
|
|
Content-type: text/plain
|
2020-10-14 23:23:12 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
python/sepolicy/sepolicy/manpage.py | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/python/sepolicy/sepolicy/manpage.py b/python/sepolicy/sepolicy/manpage.py
|
2023-01-02 14:45:06 +00:00
|
|
|
index 586553bd4d9a..4c2c46f8c804 100755
|
2020-10-14 23:23:12 +00:00
|
|
|
--- a/python/sepolicy/sepolicy/manpage.py
|
|
|
|
+++ b/python/sepolicy/sepolicy/manpage.py
|
2023-01-02 14:45:06 +00:00
|
|
|
@@ -737,7 +737,8 @@ SELinux %(domainname)s policy is very flexible allowing users to setup their %(d
|
2020-10-14 23:23:12 +00:00
|
|
|
.PP
|
|
|
|
""" % {'domainname': self.domainname, 'equiv': e, 'alt': e.split('/')[-1]})
|
|
|
|
|
|
|
|
- self.fd.write(r"""
|
|
|
|
+ if flist_non_exec:
|
2022-05-19 18:25:34 +00:00
|
|
|
+ self.fd.write(r"""
|
2020-10-14 23:23:12 +00:00
|
|
|
.PP
|
|
|
|
.B STANDARD FILE CONTEXT
|
|
|
|
|
|
|
|
--
|
2023-01-02 14:45:06 +00:00
|
|
|
2.39.0
|
2020-10-14 23:23:12 +00:00
|
|
|
|