Merge pull request #216 from bauen1/fix-modutils-nnp

This commit is contained in:
Chris PeBenito 2020-04-14 14:08:16 -04:00
commit 504f931980
2 changed files with 1 additions and 7 deletions

View File

@ -478,10 +478,6 @@ ifdef(`init_systemd',`
dbus_connect_system_bus(init_t) dbus_connect_system_bus(init_t)
') ')
optional_policy(`
modutils_domtrans(init_t)
')
optional_policy(` optional_policy(`
# for systemd --user: # for systemd --user:
unconfined_search_keys(init_t) unconfined_search_keys(init_t)
@ -1228,7 +1224,6 @@ optional_policy(`
optional_policy(` optional_policy(`
modutils_read_module_config(initrc_t) modutils_read_module_config(initrc_t)
modutils_domtrans(initrc_t)
') ')
optional_policy(` optional_policy(`

View File

@ -9,10 +9,9 @@ attribute_role kmod_roles;
type kmod_t; type kmod_t;
type kmod_exec_t; type kmod_exec_t;
application_domain(kmod_t, kmod_exec_t) init_system_domain(kmod_t, kmod_exec_t)
kernel_domtrans_to(kmod_t, kmod_exec_t) kernel_domtrans_to(kmod_t, kmod_exec_t)
mls_file_write_all_levels(kmod_t) mls_file_write_all_levels(kmod_t)
roleattribute system_r kmod_roles;
role kmod_roles types kmod_t; role kmod_roles types kmod_t;
# module loading config # module loading config