2022-04-13 10:59:04 +00:00
|
|
|
From 25a80e4bfa1c0b9814ddaaae119b694f7e7a33d7 Mon Sep 17 00:00:00 2001
|
2019-03-22 16:35:38 +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-04-13 10:59:04 +00:00
|
|
|
Content-type: text/plain
|
2019-03-22 16:35:38 +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
|
2022-04-13 10:59:04 +00:00
|
|
|
index 82338aeeef32..c9a6291a8b40 100755
|
2019-03-22 16:35:38 +00:00
|
|
|
--- a/python/sepolicy/sepolicy/manpage.py
|
|
|
|
+++ b/python/sepolicy/sepolicy/manpage.py
|
2021-01-20 19:44:33 +00:00
|
|
|
@@ -795,7 +795,8 @@ SELinux %(domainname)s policy is very flexible allowing users to setup their %(d
|
2019-03-22 16:35:38 +00:00
|
|
|
.PP
|
|
|
|
""" % {'domainname': self.domainname, 'equiv': e, 'alt': e.split('/')[-1]})
|
|
|
|
|
|
|
|
- self.fd.write(r"""
|
|
|
|
+ if flist_non_exec:
|
|
|
|
+ self.fd.write(r"""
|
|
|
|
.PP
|
|
|
|
.B STANDARD FILE CONTEXT
|
|
|
|
|
|
|
|
--
|
2022-04-13 10:59:04 +00:00
|
|
|
2.35.1
|
2019-03-22 16:35:38 +00:00
|
|
|
|