2017-04-20 22:00:36

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH] openoffice: support starting it from the window manager

This patch allows to start the openoffice suite from the
window manager.

Signed-off-by: Guido Trentalancia <[email protected]>
---
policy/modules/contrib/openoffice.te | 4 ++++
1 file changed, 4 insertions(+)

--- a/policy/modules/contrib/openoffice.te 2017-02-04 19:30:31.000000000 +0100
+++ b/policy/modules/contrib/openoffice.te 2017-04-20 23:52:49.835593136 +0200
@@ -34,6 +43,10 @@ type ooffice_exec_t;
userdom_user_application_domain(ooffice_t, ooffice_exec_t)
role ooffice_roles types ooffice_t;

+optional_policy(`
+ wm_application_domain(ooffice_t, ooffice_exec_t)
+')
+
type ooffice_home_t;
userdom_user_home_content(ooffice_home_t)


2017-04-21 00:19:58

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] openoffice: support starting it from the window manager

On 04/20/2017 06:00 PM, Guido Trentalancia via refpolicy wrote:
> This patch allows to start the openoffice suite from the
> window manager.
>
> Signed-off-by: Guido Trentalancia <[email protected]>
> ---
> policy/modules/contrib/openoffice.te | 4 ++++
> 1 file changed, 4 insertions(+)
>
> --- a/policy/modules/contrib/openoffice.te 2017-02-04 19:30:31.000000000 +0100
> +++ b/policy/modules/contrib/openoffice.te 2017-04-20 23:52:49.835593136 +0200
> @@ -34,6 +43,10 @@ type ooffice_exec_t;
> userdom_user_application_domain(ooffice_t, ooffice_exec_t)
> role ooffice_roles types ooffice_t;
>
> +optional_policy(`
> + wm_application_domain(ooffice_t, ooffice_exec_t)
> +')
> +
> type ooffice_home_t;
> userdom_user_home_content(ooffice_home_t)

Merged.

--
Chris PeBenito