bachradsusi / selinux-policy-macros

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%