public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/selinux-policy] f44: Replace "\_" (backslash underscore) with "_" (just underscore)
@ 2026-06-12 19:10 Zdenek Pytela
0 siblings, 0 replies; only message in thread
From: Zdenek Pytela @ 2026-06-12 19:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/selinux-policy
Branch : f44
Commit : 493a0051e91651c3a31e26d7bcdeba9829138d4f
Author : Zdenek Pytela <zpytela@redhat.com>
Date : 2026-06-05T21:28:22+02:00
Stats : +3/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/selinux-policy/c/493a0051e91651c3a31e26d7bcdeba9829138d4f?branch=f44
Log:
Replace "\_" (backslash underscore) with "_" (just underscore)
Underscores in file context specifications do not need to be backslash-escaped,
it actually can cause unexpected problems.
---
diff --git a/binsbin-convert.sh b/binsbin-convert.sh
index a744225..09338d6 100755
--- a/binsbin-convert.sh
+++ b/binsbin-convert.sh
@@ -48,6 +48,9 @@ grep ^/usr/sbin ${FILE_CONTEXTS} > ${EXTRA_BINSBIN_ENTRIES_WITHDUP}
sed -i 's/[ \t]\+/ /g' ${EXTRA_BINSBIN_ENTRIES_WITHDUP}
sed 's/[ \t]\+/ /g' ${FILE_CONTEXTS} > ${FILE_CONTEXTS_UNIFIED}
+# the echo later in this script command changes "\_" to "_"
+sed -i 's/\\_/_/' ${FILE_CONTEXTS_UNIFIED}
+
# Deduplicate already existing /usr/bin=/usr/sbin entries
while read line
do
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-12 19:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-12 19:10 [rpms/selinux-policy] f44: Replace "\_" (backslash underscore) with "_" (just underscore) Zdenek Pytela
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox