Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Policy macros used for shipping custom selinux policies. These macros are shipped with selinux-policy rpm package in Fedora

License

Notifications You must be signed in to change notification settings

fedora-selinux/selinux-policy-macros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obsoleted

This repository is obsoleted and is not used anymore.

Up to date macros.selinux-policy files are available in Fedora dist-git and CentOS repository

Tests

$ sudo dnf install beakerlib
$ sudo ./runtest.sh

DONE

  • macros.selinux-policy: store current value to %{_file_custom_defined_booleans}

  • macros.selinux-policy: use value from %{_file_custom_defined_booleans} and set it via semanage (import|boolean)

  • prepare a basic testsuite with these situations

    • install/uninstall package

      • with a boolean not modified before

      • with a boolean modified before

      • with a boolean modified before but twice - to a default value

    • install/uninstall multiple packages

      • with a boolean not modified before

      • with a boolean modified before

      • with a boolean modified before but twice - to a default value

About

Policy macros used for shipping custom selinux policies. These macros are shipped with selinux-policy rpm package in Fedora

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages