[COMMIT]refpolicy-contrib branch, master, updated. RELEASE_2_20120215-38-g9f8a6a3

Reference Policy commits mail list refpolicy-commits at oss.tresys.com
Fri May 4 09:03:16 CDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "refpolicy-contrib".

The branch, master has been updated
       via  9f8a6a356b99a19e09256fc37630cd6c22da66b4 (commit)
       via  6d2d4256eb1d5e2066b182d0193958dbc953f929 (commit)
      from  87a2a524c1364e6b88ffbb0b62b0a24fc6e6aed3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9f8a6a356b99a19e09256fc37630cd6c22da66b4
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Fri May 4 11:13:39 2012 -0400

    Module version bump for mozilla role attribute fixes from Sven Vermeulen.

commit 6d2d4256eb1d5e2066b182d0193958dbc953f929
Author: Sven Vermeulen <sven.vermeulen at siphos.be>
Date:   Tue May 1 10:33:19 2012 +0200

    Support mozilla_roles
    
    The mozilla definition already includes the mozilla_roles role attribute, but missed including the mozilla_plugin in it.
    Also, the mozilla_role() interface should add the mozilla_roles attribute to the calling role, not just the mozilla_t type.
    
    Signed-off-by: Sven Vermeulen <sven.vermeulen at siphos.be>

-----------------------------------------------------------------------

Summary of changes:
 mozilla.if |    3 ++-
 mozilla.te |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

Detailed diffset:
:100644 100644 af2ba47... b397fde... M	mozilla.if
:100644 100644 5372d71... 0724816... M	mozilla.te

diff --git a/mozilla.if b/mozilla.if
index af2ba47..b397fde 100644
--- a/mozilla.if
+++ b/mozilla.if
@@ -18,9 +18,10 @@
 interface(`mozilla_role',`
 	gen_require(`
 		type mozilla_t, mozilla_exec_t, mozilla_home_t;
+		attribute_role mozilla_roles;
 	')
 
-	role $1 types mozilla_t;
+	roleattribute $1 mozilla_roles;
 
 	domain_auto_trans($2, mozilla_exec_t, mozilla_t)
 	# Unrestricted inheritance from the caller.
diff --git a/mozilla.te b/mozilla.te
index 5372d71..0724816 100644
--- a/mozilla.te
+++ b/mozilla.te
@@ -1,4 +1,4 @@
-policy_module(mozilla, 2.5.2)
+policy_module(mozilla, 2.5.3)
 
 ########################################
 #
@@ -32,7 +32,7 @@ userdom_user_home_content(mozilla_home_t)
 type mozilla_plugin_t;
 type mozilla_plugin_exec_t;
 application_domain(mozilla_plugin_t, mozilla_plugin_exec_t)
-role system_r types mozilla_plugin_t;
+role mozilla_roles types mozilla_plugin_t;
 
 type mozilla_plugin_tmp_t;
 userdom_user_tmp_file(mozilla_plugin_tmp_t)


hooks/post-receive
--
refpolicy-contrib


More information about the Refpolicy-commits mailing list