Blame SOURCES/0011-selinux-8-5-Describe-fcontext-regular-expressions.patch

393955
From c556c6ad0b94cf3ba4b441a1a0930f2468434227 Mon Sep 17 00:00:00 2001
393955
From: Vit Mojzis <vmojzis@redhat.com>
393955
Date: Wed, 10 Feb 2021 18:05:29 +0100
393955
Subject: [PATCH] selinux(8,5): Describe fcontext regular expressions
393955
393955
Describe which type of regular expression is used in file context
393955
definitions and which flags are in effect.
393955
393955
Explain how local file context modifications are processed.
393955
393955
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
393955
Acked-by: Petr Lautrbach <plautrba@redhat.com>
393955
---
393955
 libselinux/man/man5/selabel_file.5 | 9 ++++++++-
393955
 1 file changed, 8 insertions(+), 1 deletion(-)
393955
393955
diff --git a/libselinux/man/man5/selabel_file.5 b/libselinux/man/man5/selabel_file.5
393955
index e97bd826..baba7776 100644
393955
--- a/libselinux/man/man5/selabel_file.5
393955
+++ b/libselinux/man/man5/selabel_file.5
393955
@@ -125,7 +125,14 @@ Where:
393955
 .RS
393955
 .I pathname
393955
 .RS
393955
-An entry that defines the pathname that may be in the form of a regular expression.
393955
+An entry that defines the path to be labeled.
393955
+May contain either a fully qualified path,
393955
+or a Perl compatible regular expression (PCRE),
393955
+describing fully qualified path(s).
393955
+The only PCRE flag in use is PCRE2_DOTALL,
393955
+which causes a wildcard '.' to match anything, including a new line.
393955
+Strings representing paths are processed as bytes (as opposed to Unicode),
393955
+meaning that non-ASCII characters are not matched by a single wildcard.
393955
 .RE
393955
 .I file_type
393955
 .RS
393955
-- 
393955
2.35.3
393955