pulseaudio patch from dan.

This commit is contained in:
Chris PeBenito 2009-08-31 10:07:57 -04:00
parent da4332a3c5
commit a3dd1499ef
2 changed files with 15 additions and 3 deletions

View File

@ -141,5 +141,6 @@ interface(`pulseaudio_stream_connect',`
')
allow $1 pulseaudio_t:process signull;
allow pulseaudio_t $1:process signull;
allow $1 pulseaudio_t:unix_stream_socket connectto;
')

View File

@ -1,5 +1,5 @@
policy_module(pulseaudio,1.0.0)
policy_module(pulseaudio, 1.0.1)
########################################
#
@ -22,7 +22,11 @@ allow pulseaudio_t self:unix_stream_socket create_stream_socket_perms;
allow pulseaudio_t self:unix_dgram_socket { sendto create_socket_perms };
allow pulseaudio_t self:tcp_socket create_stream_socket_perms;
allow pulseaudio_t self:udp_socket create_socket_perms;
allow pulseaudio_t self:netlink_kobject_uevent_socket create_socket_perms;
can_exec(pulseaudio_t, pulseaudio_exec_t)
kernel_read_system_state(pulseaudio_t)
kernel_read_kernel_sysctls(pulseaudio_t)
corecmd_exec_bin(pulseaudio_t)
@ -47,6 +51,7 @@ files_read_usr_files(pulseaudio_t)
fs_rw_anon_inodefs_files(pulseaudio_t)
fs_getattr_tmpfs(pulseaudio_t)
fs_list_inotifyfs(pulseaudio_t)
term_use_all_user_ttys(pulseaudio_t)
term_use_all_user_ptys(pulseaudio_t)
@ -72,6 +77,14 @@ optional_policy(`
optional_policy(`
hal_dbus_chat(pulseaudio_t)
')
optional_policy(`
policykit_dbus_chat(pulseaudio_t)
')
optional_policy(`
rpm_dbus_chat(pulseaudio_t)
')
')
optional_policy(`
@ -85,8 +98,6 @@ optional_policy(`
')
optional_policy(`
xserver_read_xdm_pid(pulseaudio_t)
xserver_manage_xdm_tmp_files(pulseaudio_t)
xserver_read_xdm_lib_files(pulseaudio_t)
')