diff --git a/policy/modules/admin/kismet.if b/policy/modules/admin/kismet.if index 8471ba5a6..89a2d2348 100644 --- a/policy/modules/admin/kismet.if +++ b/policy/modules/admin/kismet.if @@ -15,7 +15,7 @@ ## ## # -template(`kismet_role',` +interface(`kismet_role',` gen_require(` type kismet_home_t, kismet_tmp_t, kismet_tmpfs_t; type kismet_t; diff --git a/policy/modules/apps/gnome.if b/policy/modules/apps/gnome.if index f1e23402e..c99eaea58 100644 --- a/policy/modules/apps/gnome.if +++ b/policy/modules/apps/gnome.if @@ -670,7 +670,7 @@ interface(`gnome_dbus_chat_gconfd',` ## ## # -interface(`gnome_dbus_chat_gkeyringd',` +template(`gnome_dbus_chat_gkeyringd',` gen_require(` type $1_gkeyringd_t; class dbus send_msg; @@ -738,7 +738,7 @@ interface(`gnome_spec_domtrans_all_gkeyringd',` ## ## # -interface(`gnome_stream_connect_gkeyringd',` +template(`gnome_stream_connect_gkeyringd',` gen_require(` type $1_gkeyringd_t, gnome_keyring_tmp_t; ') diff --git a/policy/modules/apps/qemu.if b/policy/modules/apps/qemu.if index 34871b9bc..a8570a252 100644 --- a/policy/modules/apps/qemu.if +++ b/policy/modules/apps/qemu.if @@ -109,7 +109,7 @@ template(`qemu_domain_template',` ## ## # -template(`qemu_role',` +interface(`qemu_role',` gen_require(` type qemu_t; ') diff --git a/policy/modules/apps/wm.if b/policy/modules/apps/wm.if index 538d6968f..e0b7ec128 100644 --- a/policy/modules/apps/wm.if +++ b/policy/modules/apps/wm.if @@ -139,7 +139,7 @@ interface(`wm_exec',` ## ## # -interface(`wm_dbus_chat',` +template(`wm_dbus_chat',` gen_require(` type $1_wm_t; class dbus send_msg; @@ -247,7 +247,7 @@ interface(`wm_application_domain',` ## ## # -interface(`wm_write_pipes',` +template(`wm_write_pipes',` gen_require(` type $1_wm_t; ') diff --git a/policy/modules/services/dbus.if b/policy/modules/services/dbus.if index 2ed53f2b0..a0da2bf2d 100644 --- a/policy/modules/services/dbus.if +++ b/policy/modules/services/dbus.if @@ -190,7 +190,7 @@ interface(`dbus_connect_all_session_bus',` ## ## # -interface(`dbus_connect_spec_session_bus',` +template(`dbus_connect_spec_session_bus',` gen_require(` type $1_dbusd_t; class dbus acquire_svc; @@ -242,7 +242,7 @@ interface(`dbus_all_session_bus_client',` ## ## # -interface(`dbus_spec_session_bus_client',` +template(`dbus_spec_session_bus_client',` gen_require(` attribute dbusd_session_bus_client; type $1_dbusd_t; @@ -295,7 +295,7 @@ interface(`dbus_send_all_session_bus',` ## ## # -interface(`dbus_send_spec_session_bus',` +template(`dbus_send_spec_session_bus',` gen_require(` type $1_dbusd_t; class dbus send_msg; @@ -433,7 +433,7 @@ interface(`dbus_all_session_domain',` ## ## # -interface(`dbus_spec_session_domain',` +template(`dbus_spec_session_domain',` gen_require(` type $1_dbusd_t; ') diff --git a/policy/modules/services/git.if b/policy/modules/services/git.if index 1e29af196..1f29cff33 100644 --- a/policy/modules/services/git.if +++ b/policy/modules/services/git.if @@ -15,7 +15,7 @@ ## ## # -template(`git_role',` +interface(`git_role',` gen_require(` attribute_role git_session_roles; type git_session_t, gitd_exec_t, git_user_content_t; diff --git a/policy/modules/services/rlogin.if b/policy/modules/services/rlogin.if index 050479dea..0e1b364fb 100644 --- a/policy/modules/services/rlogin.if +++ b/policy/modules/services/rlogin.if @@ -29,7 +29,7 @@ interface(`rlogin_domtrans',` ## ## # -template(`rlogin_read_home_content',` +interface(`rlogin_read_home_content',` gen_require(` type rlogind_home_t; ') diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if index 978c1b875..f9f8a5b28 100644 --- a/policy/modules/system/userdomain.if +++ b/policy/modules/system/userdomain.if @@ -1428,7 +1428,7 @@ template(`userdom_admin_user_template',` ## ## # -template(`userdom_security_admin_template',` +interface(`userdom_security_admin_template',` allow $1 self:capability { dac_override dac_read_search }; corecmd_exec_shell($1)