2024-03-28 11:26:57 +00:00
|
|
|
From 91eebedb3f2af184720bf77f64133a9a2e0dc453 Mon Sep 17 00:00:00 2001
|
2021-11-04 02:35:10 +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-09-27 14:08:47 +00:00
|
|
|
Content-type: text/plain
|
2021-11-04 02:35:10 +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
|
2024-03-28 11:26:57 +00:00
|
|
|
index b80a408a8f55..70a8ce848900 100755
|
2021-11-04 02:35:10 +00:00
|
|
|
--- a/python/sepolicy/sepolicy/manpage.py
|
|
|
|
+++ b/python/sepolicy/sepolicy/manpage.py
|
2023-03-28 09:22:51 +00:00
|
|
|
@@ -737,7 +737,8 @@ SELinux %(domainname)s policy is very flexible allowing users to setup their %(d
|
2021-11-04 02:35:10 +00:00
|
|
|
.PP
|
|
|
|
""" % {'domainname': self.domainname, 'equiv': e, 'alt': e.split('/')[-1]})
|
|
|
|
|
|
|
|
- self.fd.write(r"""
|
|
|
|
+ if flist_non_exec:
|
2022-09-27 14:08:47 +00:00
|
|
|
+ self.fd.write(r"""
|
2021-11-04 02:35:10 +00:00
|
|
|
.PP
|
|
|
|
.B STANDARD FILE CONTEXT
|
|
|
|
|
|
|
|
--
|
2024-03-28 11:26:57 +00:00
|
|
|
2.41.0
|
2021-11-04 02:35:10 +00:00
|
|
|
|