Skip to content

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

bachradsusi/selinux-policy-macros

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Shell 100.0%