Allow unconfined users to transition to dpkg_t domain

dpkg is now using rpm_execcon()/setexecfilecon()-like function to
transition to the dpkg_script_t domain. This function will fail in
enforcing mode if the transition is not allowed.
This commit is contained in:
Laurent Bigonville 2014-01-11 15:23:22 +01:00 committed by Chris PeBenito
parent 3ffc91fff4
commit 0e1c64f3bb
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,10 @@ optional_policy(`
cron_unconfined_role(unconfined_r, unconfined_t)
')
optional_policy(`
dpkg_run(unconfined_t, unconfined_r)
')
optional_policy(`
firstboot_run(unconfined_t, unconfined_r)
')