Update alsa module use from Guido Trentalancia.

This commit is contained in:
Chris PeBenito 2016-08-14 14:34:19 -04:00
parent 2bfcba6624
commit 9e0566104a
5 changed files with 9 additions and 4 deletions

View File

@ -74,6 +74,7 @@ HOME_DIR/\.Xauthority.* -- gen_context(system_u:object_r:xauth_home_t,s0)
/usr/lib/xorg/Xorg\.wrap -- gen_context(system_u:object_r:xserver_exec_t,s0)
/usr/lib/xorg-server/Xorg -- gen_context(system_u:object_r:xserver_exec_t,s0)
/usr/lib/xorg-server/Xorg\.wrap -- gen_context(system_u:object_r:xserver_exec_t,s0)
/usr/lib/X11/xdm/Xsession -- gen_context(system_u:object_r:xsession_exec_t,s0)
/usr/sbin/lightdm -- gen_context(system_u:object_r:xdm_exec_t,s0)

View File

@ -506,6 +506,10 @@ optional_policy(`
alsa_domtrans(xdm_t)
')
optional_policy(`
colord_dbus_chat(xdm_t)
')
optional_policy(`
consolekit_dbus_chat(xdm_t)
')

View File

@ -697,7 +697,7 @@ ifdef(`distro_redhat',`
miscfiles_read_hwdata(initrc_t)
optional_policy(`
alsa_manage_rw_config(initrc_t)
alsa_manage_config(initrc_t)
')
optional_policy(`

View File

@ -234,7 +234,7 @@ ifdef(`init_systemd',`
optional_policy(`
alsa_domtrans(udev_t)
alsa_read_lib(udev_t)
alsa_read_rw_config(udev_t)
alsa_read_config(udev_t)
')
optional_policy(`

View File

@ -579,7 +579,7 @@ template(`userdom_common_user_template',`
optional_policy(`
alsa_home_filetrans_alsa_home($1_t, file, ".asoundrc")
alsa_manage_home_files($1_t)
alsa_read_rw_config($1_t)
alsa_read_config($1_t)
alsa_relabel_home_files($1_t)
')
@ -954,7 +954,7 @@ template(`userdom_restricted_xwindows_user_template',`
xserver_restricted_role($1_r, $1_t)
optional_policy(`
alsa_read_rw_config($1_t)
alsa_read_config($1_t)
')
optional_policy(`