diff mbox

[4/4] sepolicy: File labels used to be sorted in a man page

Message ID 20170727131053.7962-4-plautrba@redhat.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Petr Lautrbach July 27, 2017, 1:10 p.m. UTC
Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
---
 python/sepolicy/sepolicy/manpage.py | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Smalley July 27, 2017, 4:48 p.m. UTC | #1
On Thu, 2017-07-27 at 15:10 +0200, Petr Lautrbach wrote:
> Signed-off-by: Petr Lautrbach <plautrba@redhat.com>

Thanks, applied all 4 patches.

> ---
>  python/sepolicy/sepolicy/manpage.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/python/sepolicy/sepolicy/manpage.py
> b/python/sepolicy/sepolicy/manpage.py
> index 6df6f431..4d846364 100755
> --- a/python/sepolicy/sepolicy/manpage.py
> +++ b/python/sepolicy/sepolicy/manpage.py
> @@ -807,6 +807,7 @@ Note: SELinux often uses regular expressions to
> specify labels that match multip
>          self.fd.write(r"""
>  .I The following file types are defined for %(domainname)s:
>  """ % {'domainname': self.domainname})
> +        flist.sort()
>          for f in flist:
>              self.fd.write("""
>
diff mbox

Patch

diff --git a/python/sepolicy/sepolicy/manpage.py b/python/sepolicy/sepolicy/manpage.py
index 6df6f431..4d846364 100755
--- a/python/sepolicy/sepolicy/manpage.py
+++ b/python/sepolicy/sepolicy/manpage.py
@@ -807,6 +807,7 @@  Note: SELinux often uses regular expressions to specify labels that match multip
         self.fd.write(r"""
 .I The following file types are defined for %(domainname)s:
 """ % {'domainname': self.domainname})
+        flist.sort()
         for f in flist:
             self.fd.write("""