2011-03-09 21:19:12

by sven.vermeulen

[permalink] [raw]
Subject: [refpolicy] [PATCH 09/15] Support mplayer as plugin for others

Allow mplayer to behave as a plugin for higher-level (interactive)
applications, such as browser plugins

Signed-off-by: Sven Vermeulen <[email protected]>
---
policy/modules/apps/mplayer.te | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/policy/modules/apps/mplayer.te b/policy/modules/apps/mplayer.te
index d3e23ba..aa86e06 100644
--- a/policy/modules/apps/mplayer.te
+++ b/policy/modules/apps/mplayer.te
@@ -227,6 +227,7 @@ miscfiles_read_localization(mplayer_t)
miscfiles_read_fonts(mplayer_t)

userdom_use_user_terminals(mplayer_t)
+domain_use_interactive_fds(mplayer_t)
# Read media files
userdom_list_user_tmp(mplayer_t)
userdom_read_user_tmp_files(mplayer_t)
--
1.7.3.4


2011-03-24 18:36:04

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH 09/15] Support mplayer as plugin for others

On 03/09/11 16:19, Sven Vermeulen wrote:
> Allow mplayer to behave as a plugin for higher-level (interactive)
> applications, such as browser plugins

Merged.

> Signed-off-by: Sven Vermeulen <[email protected]>
> ---
> policy/modules/apps/mplayer.te | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/policy/modules/apps/mplayer.te b/policy/modules/apps/mplayer.te
> index d3e23ba..aa86e06 100644
> --- a/policy/modules/apps/mplayer.te
> +++ b/policy/modules/apps/mplayer.te
> @@ -227,6 +227,7 @@ miscfiles_read_localization(mplayer_t)
> miscfiles_read_fonts(mplayer_t)
>
> userdom_use_user_terminals(mplayer_t)
> +domain_use_interactive_fds(mplayer_t)
> # Read media files
> userdom_list_user_tmp(mplayer_t)
> userdom_read_user_tmp_files(mplayer_t)


--
Chris PeBenito
Tresys Technology, LLC
http://www.tresys.com | oss.tresys.com