From: pebenito@ieee.org (Chris PeBenito) Date: Sun, 17 Sep 2017 10:29:36 -0400 Subject: [refpolicy] [PATCH 4/6] pulseaudio: general update In-Reply-To: <1505597930.13203.45.camel@trentalancia.com> References: <1505597930.13203.45.camel@trentalancia.com> Message-ID: <89eb81e0-9b02-90fa-1dd9-14bb09fd5550@ieee.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 09/16/2017 05:38 PM, Guido Trentalancia via refpolicy wrote: > Update the pulseaudio module and add two pulseaudio interface calls > to the gnome module. > > Signed-off-by: Guido Trentalancia > --- > policy/modules/contrib/gnome.te | 8 ++++++++ > policy/modules/contrib/pulseaudio.te | 3 +++ > 2 files changed, 11 insertions(+) > > --- a/policy/modules/contrib/pulseaudio.te 2017-03-29 17:58:00.311386397 +0200 > +++ b/policy/modules/contrib/pulseaudio.te 2017-09-16 18:17:10.454446722 +0200 > @@ -137,11 +137,14 @@ logging_send_syslog_msg(pulseaudio_t) > > miscfiles_read_localization(pulseaudio_t) > > +seutil_read_config(pulseaudio_t) > + > userdom_read_user_tmpfs_files(pulseaudio_t) > userdom_delete_user_tmpfs_files(pulseaudio_t) > userdom_search_user_home_dirs(pulseaudio_t) > userdom_search_user_home_content(pulseaudio_t) > > +userdom_manage_user_tmp_dirs(pulseaudio_t) > userdom_manage_user_tmp_sockets(pulseaudio_t) > > tunable_policy(`pulseaudio_execmem',` > --- a/policy/modules/contrib/gnome.te 2017-09-16 16:21:54.840402273 +0200 > +++ b/policy/modules/contrib/gnome.te 2017-09-16 19:21:49.966471657 +0200 > @@ -106,6 +106,10 @@ optional_policy(` > dbus_all_session_domain(gconfd_t, gconfd_exec_t) > > dbus_system_bus_client(gconfd_t) > + > + optional_policy(` > + pulseaudio_dbus_chat(gconfd_t) > + ') > ') > > optional_policy(` > @@ -116,6 +120,10 @@ optional_policy(` > ooffice_stream_connect(gconfd_t) > ') > > +optional_policy(` > + pulseaudio_stream_connect(gconfd_t) > +') > + > ############################## > # > # Keyring-daemon local policy Merged. -- Chris PeBenito