Oreon-Lime-R2/selinux-policy/selinux-policy-d9f4a2b/selinux-policy-d9f4a2bbeb91fd95d0c35a90936efb9ea99d2455/policy/modules/contrib/kmscon.if

25 lines
651 B
Text

## <summary>Terminal emulator for Linux graphical console</summary>
########################################
## <summary>
## Execute kmscon in the kmscon domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`kmscon_systemctl',`
gen_require(`
type kmscon_unit_file_t;
type kmscon_t;
')
systemd_exec_systemctl($1)
init_reload_services($1)
allow $1 kmscon_unit_file_t:file read_file_perms;
allow $1 kmscon_unit_file_t:service manage_service_perms;
ps_process_pattern($1, kmscon_t)
')