2017-09-16 21:38:50

by Guido Trentalancia

[permalink] [raw]
Subject: [refpolicy] [PATCH 4/6] pulseaudio: general update

Update the pulseaudio module and add two pulseaudio interface calls
to the gnome module.

Signed-off-by: Guido Trentalancia <[email protected]>
---
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


2017-09-17 14:29:36

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH 4/6] pulseaudio: general update

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 <[email protected]>
> ---
> 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