|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
6f30d7 |
policy_module(pulseaudio, 1.1.1)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
########################################
|
|
Chris PeBenito |
9b1907 |
#
|
|
Chris PeBenito |
9b1907 |
# Declarations
|
|
Chris PeBenito |
9b1907 |
#
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
type pulseaudio_t;
|
|
Chris PeBenito |
9b1907 |
type pulseaudio_exec_t;
|
|
Chris PeBenito |
9b1907 |
application_domain(pulseaudio_t, pulseaudio_exec_t)
|
|
Chris PeBenito |
9b1907 |
role system_r types pulseaudio_t;
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
########################################
|
|
Chris PeBenito |
9b1907 |
#
|
|
Chris PeBenito |
9b1907 |
# pulseaudio local policy
|
|
Chris PeBenito |
9b1907 |
#
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
allow pulseaudio_t self:process { getcap setcap setrlimit setsched getsched signal signull };
|
|
Chris PeBenito |
9b1907 |
allow pulseaudio_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
9b1907 |
allow pulseaudio_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
9b1907 |
allow pulseaudio_t self:unix_dgram_socket { sendto create_socket_perms };
|
|
Chris PeBenito |
9b1907 |
allow pulseaudio_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
9b1907 |
allow pulseaudio_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
a3dd14 |
allow pulseaudio_t self:netlink_kobject_uevent_socket create_socket_perms;
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
a3dd14 |
can_exec(pulseaudio_t, pulseaudio_exec_t)
|
|
Chris PeBenito |
a3dd14 |
|
|
Chris PeBenito |
a3dd14 |
kernel_read_system_state(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
kernel_read_kernel_sysctls(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
corecmd_exec_bin(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
corenet_all_recvfrom_unlabeled(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
corenet_all_recvfrom_netlabel(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
corenet_tcp_bind_pulseaudio_port(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
corenet_tcp_bind_soundd_port(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
corenet_tcp_sendrecv_generic_if(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
corenet_tcp_sendrecv_generic_node(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
corenet_udp_bind_sap_port(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
corenet_udp_sendrecv_generic_if(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
corenet_udp_sendrecv_generic_node(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
dev_read_sound(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
dev_write_sound(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
dev_read_sysfs(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
dev_read_urand(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
files_read_etc_files(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
files_read_usr_files(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
fs_rw_anon_inodefs_files(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
fs_getattr_tmpfs(pulseaudio_t)
|
|
Chris PeBenito |
a3dd14 |
fs_list_inotifyfs(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
c3c753 |
term_use_all_ttys(pulseaudio_t)
|
|
Chris PeBenito |
c3c753 |
term_use_all_ptys(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
auth_use_nsswitch(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
logging_send_syslog_msg(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
miscfiles_read_localization(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
optional_policy(`
|
|
Chris PeBenito |
6f30d7 |
bluetooth_stream_connect(pulseaudio_t)
|
|
Chris PeBenito |
6f30d7 |
')
|
|
Chris PeBenito |
6f30d7 |
|
|
Chris PeBenito |
6f30d7 |
optional_policy(`
|
|
Chris PeBenito |
9b1907 |
gnome_manage_config(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
')
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
optional_policy(`
|
|
Chris PeBenito |
9b1907 |
dbus_system_bus_client(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
dbus_session_bus_client(pulseaudio_t)
|
|
Chris PeBenito |
6f30d7 |
dbus_connect_session_bus(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
optional_policy(`
|
|
Chris PeBenito |
9b1907 |
consolekit_dbus_chat(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
')
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
optional_policy(`
|
|
Chris PeBenito |
9b1907 |
hal_dbus_chat(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
')
|
|
Chris PeBenito |
a3dd14 |
|
|
Chris PeBenito |
a3dd14 |
optional_policy(`
|
|
Chris PeBenito |
a3dd14 |
policykit_dbus_chat(pulseaudio_t)
|
|
Chris PeBenito |
a3dd14 |
')
|
|
Chris PeBenito |
a3dd14 |
|
|
Chris PeBenito |
a3dd14 |
optional_policy(`
|
|
Chris PeBenito |
a3dd14 |
rpm_dbus_chat(pulseaudio_t)
|
|
Chris PeBenito |
a3dd14 |
')
|
|
Chris PeBenito |
9b1907 |
')
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
optional_policy(`
|
|
Chris PeBenito |
9b1907 |
policykit_domtrans_auth(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
policykit_read_lib(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
policykit_read_reload(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
')
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
optional_policy(`
|
|
Chris PeBenito |
9b1907 |
udev_read_db(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
')
|
|
Chris PeBenito |
9b1907 |
|
|
Chris PeBenito |
9b1907 |
optional_policy(`
|
|
Chris PeBenito |
9b1907 |
xserver_manage_xdm_tmp_files(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
xserver_read_xdm_lib_files(pulseaudio_t)
|
|
Chris PeBenito |
9b1907 |
')
|