SELinux policy configuration
Go to file
Zdenek Pytela edd3ad31f7 * Thu Jul 20 2023 Zdenek Pytela <zpytela@redhat.com> - 3.14.3-124
- Add the files_getattr_non_auth_dirs() interface
Resolves: rhbz#2076937
- Update policy for the sblim-sfcb service
Resolves: rhbz#2076937
- Dontaudit sfcbd sys_ptrace cap_userns
Resolves: rhbz#2076937
- Label /usr/sbin/sos with sosreport_exec_t
Resolves: rhbz#2167731
- Allow sa-update manage spamc home files
Resolves: rhbz#2222200
- Allow sa-update connect to systemlog services
Resolves: rhbz#2222200
- Label /usr/lib/systemd/system/mimedefang.service with antivirus_unit_file_t
Resolves: rhbz#2222200
2023-07-20 17:52:48 +02:00
.fmf Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
plans Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
.gitignore * Thu Jul 20 2023 Zdenek Pytela <zpytela@redhat.com> - 3.14.3-124 2023-07-20 17:52:48 +02:00
booleans-minimum.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
booleans-mls.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
booleans-targeted.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
booleans.subs_dist Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
COPYING Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
customizable_types Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
file_contexts.subs_dist Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
gating.yaml Bring gating.yaml over from Brew dist-git 2023-03-10 11:25:41 -08:00
make-rhat-patches.sh Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
Makefile Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
Makefile.devel Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
modules-minimum.conf Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
modules-mls-base.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
modules-mls-contrib.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
modules-targeted-base.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
modules-targeted-contrib.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
modules-targeted.conf Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
permissivedomains.cil Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
README Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
rpm.macros Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
securetty_types-minimum Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
securetty_types-mls Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
securetty_types-targeted Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
selinux-factory-reset Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
selinux-factory-reset@.service Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
selinux-policy.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
selinux-policy.spec * Thu Jul 20 2023 Zdenek Pytela <zpytela@redhat.com> - 3.14.3-124 2023-07-20 17:52:48 +02:00
setrans-minimum.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
setrans-mls.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
setrans-targeted.conf Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
seusers Synchronize the repo content with the previous state 2023-04-13 21:02:31 +02:00
sources * Thu Jul 20 2023 Zdenek Pytela <zpytela@redhat.com> - 3.14.3-124 2023-07-20 17:52:48 +02:00
users-minimum Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
users-mls Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00
users-targeted Auto sync2gitlab import of selinux-policy-3.14.3-95.el8.src.rpm 2022-05-26 14:23:57 -04:00

## Build process

1. clone [SELinux/selinux-policy](https://gitlab.cee.redhat.com/SELinux/selinux-policy) repository
	
		$ cd ~/devel/github
		$ git clone git@gitlab.cee.redhat.com:SELinux/selinux-policy.git
		$ cd selinux-policy

2. create, backport, cherry-pick needed changes to a particular branch and push them

3. clone **selinux-policy** dist-git repository

		$ cd ~/devel/dist-git
		$ rhpkg clone selinux-policy 
		$ cd selinux-policy

4. Download the latest snaphots from selinux-policy and selinux-policy-contrib github repositories

        $ ./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
	
         $ rhpkg build