Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize with the Fedora 'selinux-policy' package #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

FaramosCZ
Copy link

No description provided.

zpytela and others added 3 commits September 24, 2024 03:14
With the next selinux-policy package update, the "/run = /var/run"
equivalency will be inverted to "/var/run = /run" so that the
file context specifications entries match the actual filesystem path.
All existing file context entries in selinux-policy sources
based on the /var/run path need to change to /run.

--

NOTE:
cherry-picked from the Fedora package 'selinux-policy' upstream:
  fedora-selinux/selinux-policy@1f76e52
This is for https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin.
We want to match /usr/bin/foo and /usr/sbin/foo. Instead of duplicating
all the paths, introduce the alias and use the new path everywhere.

Duplicate paths are removed.
(cat **/*.fc | sed -r 's/\s+/ /g' | sort | grep -v '^#' | uniq -c | grep -v '      1 ')

--

NOTE:
cherry-picked from the Fedora package 'selinux-policy' upstream:
fedora-selinux/selinux-policy@1be14f9
…a 'selinux-policy' package

This commit contains no functional changes (No-op).
It updates code style to closely match the guidelines and structure outlined in the following resource:
  https://github.com/fedora-selinux/selinux-policy/blob/rawhide/policy/modules/contrib/mysql.fc

--

The differences has been introduced in commits:
  fedora-selinux/selinux-policy@4cd4009
  c4825a8
@zpytela
Copy link

zpytela commented Sep 24, 2024

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants