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

40 lines
802 B
Text
Raw Normal View History

## <summary>policy for system-setup-keyboard daemon</summary>
########################################
## <summary>
## Execute a domain transition to run keyboard setup daemon.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`keyboardd_domtrans',`
gen_require(`
type keyboardd_t, keyboardd_exec_t;
')
domtrans_pattern($1, keyboardd_exec_t, keyboardd_t)
')
######################################
## <summary>
## Allow attempts to read to
## keyboardd unnamed pipes.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`keyboardd_read_pipes',`
gen_require(`
type keyboardd_t;
')
allow $1 keyboardd_t:fifo_file read_fifo_file_perms;
')