Oreon-Lime-R2/selinux-policy/selinux-policy-bc228bd/selinux-policy-bc228bd0c249a9e4aa3dcf238c2b1bb138943b07/policy/modules/contrib/kmscon.if

26 lines
651 B
Text
Raw Normal View History

## <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)
')