The selinux-policy rpms
Find a file
Zdenek Pytela 8adbbd5019 * Sat Jan 10 2026 Zdenek Pytela <zpytela@redhat.com> - 42.21-1
- Allow sshd_net_t ioctl on unix_stream_socket of sshd_session_t
- Allow sshd-session read, write, and map ica tmpfs files
- Allow aide get attributes of a filesystem with extended attributes
- Set correct label for glycin fontconfig (bsc#1253682)
- Set correct gstreamer directory label for gnome-desktop-thumbnailer (bsc#1253682)
- Logwatch zz-runtime uses uptime (bsc#1255862)
- Add auth_login_pgm_signull interface (bsc#1255862)
- Introduce systemd_cryptsetup_generator_var_run_t file type (bsc#1244459)
- Allow l2tpd_t access to netlink and sysfs
- Label miscellaneous /dev/papr-* devices
- Allow qemu-ga to skip authentication
- Revert "Allow systemd-coredump signull containers"
- Allow systemd-coredump signull containers
- Allow virtqemud setattr dri devices
- Allow irqbalance create and use netlink generic socket
- Allow thumb_t connect to XDM over a unix domain stream socket
- Allow systemd-homework to remove ~/.identity-blob
- Revert "Allow kl2tpd create and use netlink_generic_socket"
2026-01-10 16:38:13 +01:00
.fmf Add plans/tests.fmf 2023-10-11 13:27:51 +02:00
plans split the tests into 2 groups 2024-03-18 10:26:13 +01:00
.gitignore * Mon Feb 12 2024 Zdenek Pytela <zpytela@redhat.com> - 40.13-1 2024-02-12 12:26:33 +01:00
binsbin-convert.sh Remove extra_binsbin module before inserting 2025-11-05 16:18:51 +01:00
changelog * Sat Jan 10 2026 Zdenek Pytela <zpytela@redhat.com> - 42.21-1 2026-01-10 16:38:13 +01:00
COPYING remove extra level of directory 2006-07-12 20:32:27 +00:00
ifndefy.py * Mon Feb 26 2024 Zdenek Pytela <zpytela@redhat.com> - 40.14-1 2024-02-26 16:16:48 +01:00
make-rhat-patches.sh * Sat Jan 10 2026 Zdenek Pytela <zpytela@redhat.com> - 42.21-1 2026-01-10 16:38:13 +01:00
Makefile.devel Hard code to MLSENABLED 2011-08-22 16:30:20 -04:00
modules-minimum.lst Merge -base and -contrib 2024-07-10 17:54:28 +02:00
permissivedomains.cil Remove all domains from permissive domains, it looks these policies are tested already 2019-01-13 19:28:55 +01:00
README.md Fix typos and grammar in README 2020-12-02 09:41:43 +01:00
rpm.macros * Wed Oct 09 2025 Michael Catanzaro <mcatanzaro@redhat.com> - 42.13-2 2025-10-20 16:20:11 +02:00
selinux-check-proper-disable.service Add a systemd service to check that SELinux is disabled properly 2021-06-22 09:38:56 +00:00
selinux-policy-mls.conf Protect the targeted and mls subpackages 2024-05-20 17:21:17 +02:00
selinux-policy-targeted.conf Protect the targeted and mls subpackages 2024-05-20 17:21:17 +02:00
selinux-policy.conf We need to setcheckreqprot to 0 for security purposes 2015-04-16 14:00:38 -04:00
selinux-policy.spec * Sat Jan 10 2026 Zdenek Pytela <zpytela@redhat.com> - 42.21-1 2026-01-10 16:38:13 +01:00
sources * Sat Jan 10 2026 Zdenek Pytela <zpytela@redhat.com> - 42.21-1 2026-01-10 16:38:13 +01:00
varrun-convert.sh Use /usr/bin/bash in scripts as shebang 2024-06-11 16:03:38 +02:00

Purpose

SELinux Fedora Policy is a fork of the SELinux reference policy. The fedora-selinux/selinux-policy repo makes Fedora packaging simpler and more transparent for packagers, upstream developers, and users. It is used for applying downstream Fedora fixes, for communication about proposed/committed changes, and for communication with upstream and the community. It reflects the upstream repository structure to make submitting patches to upstream easy.

Structure

GitHub

On GitHub, we have one repository containing the policy sources.

$ cd selinux-policy
$ git remote -v
origin	git@github.com:fedora-selinux/selinux-policy.git (fetch)

$ git branch -r
origin/HEAD -> origin/master
origin/f27
origin/f28
origin/master
origin/rawhide

Note: As opposed to dist-git, the Rawhide content resides in the rawhide branch rather than master.

dist-git

Package sources in dist-git are composed from the selinux-policy repository snapshot tarball, container-selinux policy files snapshot, the macro-expander script snapshot, and from other config files.

Build process

  1. Clone the fedora-selinux/selinux-policy repository.

     $ cd ~/devel/github
     $ git clone git@github.com:fedora-selinux/selinux-policy.git
     $ cd selinux-policy
    
  2. Create, backport, or cherry-pick needed changes to a particular branch and push them.

  3. Clone the selinux-policy dist-git repository.

     $ cd ~/devel/dist-git
     $ fedpkg clone selinux-policy
     $ cd selinux-policy
    
  4. Download the latest snapshot from the selinux-policy GitHub repository.

     $ ./make-rhat-patches.sh
    
  5. Add changes to the dist-git repository, bump release, create a changelog entry, commit, and push.

  6. Build the package.

     $ fedpkg build