selinux-policy for Fedora is a large patch off the mainline
Python
218
22,171 commits
updated Sep 22, 2026
This is SELinux policy based on refpolicy used in Fedora, Red Hat Enterprise Linux and CentOS Stream.
The installation process is described in INSTALL.
The default policy is installed to /etc/selinux/fedora-selinux and /var/lib/selinux/fedora-selinux.
The name and other options can be changed using variables like NAME, TYPE, ... variables, for more details see README.build.
E.g. Fedora targeted policy uses the following options:
DISTRO=redhat UBAC=n DIRECT_INITRC=n MONOLITHIC=n MLS_CATS=1024 MCS_CATS=1024 UNK_PERMS=allow NAME=targeted TYPE=mcs
There are several ways how to contribute:
Either open issue in this project or file a bug in Fedora Bugzilla
You can fork this repo and open a PR. Please use good practices and use descriptive commit messages.
Python
70.3%
M4
14.5%
Makefile
13.4%
Shell
1.1%
selinux-policy for Fedora is a large patch off the mainline
Python
218
22,171 commits
updated Sep 22, 2026
This is SELinux policy based on refpolicy used in Fedora, Red Hat Enterprise Linux and CentOS Stream.
The installation process is described in INSTALL.
The default policy is installed to /etc/selinux/fedora-selinux and /var/lib/selinux/fedora-selinux.
The name and other options can be changed using variables like NAME, TYPE, ... variables, for more details see README.build.
E.g. Fedora targeted policy uses the following options:
DISTRO=redhat UBAC=n DIRECT_INITRC=n MONOLITHIC=n MLS_CATS=1024 MCS_CATS=1024 UNK_PERMS=allow NAME=targeted TYPE=mcs
There are several ways how to contribute:
Either open issue in this project or file a bug in Fedora Bugzilla
You can fork this repo and open a PR. Please use good practices and use descriptive commit messages.
(top 30 of 178)
Python
70.3%
M4
14.5%
Makefile
13.4%
Shell
1.1%