Blame SOURCES/0008-Fix-mcstrans-secolor-examples.patch

c17228
From 90a4f2b9a5194a2d1ab4c45b7a90bbb6c8099a68 Mon Sep 17 00:00:00 2001
c17228
From: Vit Mojzis <vmojzis@redhat.com>
c17228
Date: Tue, 2 Jul 2019 14:09:05 +0200
c17228
Subject: [PATCH] Fix mcstrans secolor examples
c17228
c17228
According to "check_dominance" function:
c17228
Range defined as "s15:c0.c1023" does not dominate any other range than
c17228
 "s15:c0.c1023" (does not dominate "s15", "s15:c0.c200", etc.).
c17228
While range defined as "s15-s15:c0.c1023" dominates all of the above.
c17228
c17228
This is either a bug, or "s15:c0.c1023" should not be used in the
c17228
examples.
c17228
c17228
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
c17228
---
c17228
 libselinux/man/man5/secolor.conf.5    | 4 ++--
c17228
 libselinux/man/ru/man5/secolor.conf.5 | 4 ++--
c17228
 2 files changed, 4 insertions(+), 4 deletions(-)
c17228
c17228
diff --git a/libselinux/man/man5/secolor.conf.5 b/libselinux/man/man5/secolor.conf.5
c17228
index b834577a..a3bf2da1 100644
c17228
--- a/libselinux/man/man5/secolor.conf.5
c17228
+++ b/libselinux/man/man5/secolor.conf.5
c17228
@@ -123,7 +123,7 @@ range s7\-s7:c0.c1023 = black red
c17228
 .br
c17228
 range s9\-s9:c0.c1023 = black orange
c17228
 .br
c17228
-range s15:c0.c1023   = black yellow
c17228
+range s15\-s15:c0.c1023   = black yellow
c17228
 .RE
c17228
 
c17228
 .sp
c17228
@@ -165,7 +165,7 @@ type xguest_t     = black green
c17228
 .br
c17228
 user sysadm_u     = white black
c17228
 .br
c17228
-range s0:c0.c1023 = black white
c17228
+range s0-s0:c0.c1023 = black white
c17228
 .br
c17228
 user *            = black white
c17228
 .br
c17228
diff --git a/libselinux/man/ru/man5/secolor.conf.5 b/libselinux/man/ru/man5/secolor.conf.5
c17228
index 4c1236ae..bcae80c1 100644
c17228
--- a/libselinux/man/ru/man5/secolor.conf.5
c17228
+++ b/libselinux/man/ru/man5/secolor.conf.5
c17228
@@ -121,7 +121,7 @@ range s7\-s7:c0.c1023 = black red
c17228
 .br
c17228
 range s9\-s9:c0.c1023 = black orange
c17228
 .br
c17228
-range s15:c0.c1023   = black yellow
c17228
+range s15\-s15:c0.c1023   = black yellow
c17228
 .RE
c17228
 
c17228
 .sp
c17228
@@ -163,7 +163,7 @@ type xguest_t     = black green
c17228
 .br
c17228
 user sysadm_u     = white black
c17228
 .br
c17228
-range s0:c0.c1023 = black white
c17228
+range s0\-s0:c0.c1023 = black white
c17228
 .br
c17228
 user *            = black white
c17228
 .br
c17228
-- 
c17228
2.21.0
c17228