Gentoo Archives: gentoo-commits

From: Jason Zaman <gentoo@×××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:userroles commit in: policy/modules/roles/
Date: Tue, 02 Dec 2014 14:19:10
Message-Id: 1417528416.f846de6171a14ec10605f90388c102cb5fe088ae.perfinion@gentoo
1 commit: f846de6171a14ec10605f90388c102cb5fe088ae
2 Author: Jason Zaman <jason <AT> perfinion <DOT> com>
3 AuthorDate: Tue Dec 2 08:15:17 2014 +0000
4 Commit: Jason Zaman <gentoo <AT> perfinion <DOT> com>
5 CommitDate: Tue Dec 2 13:53:36 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f846de61
7
8 Unify staff and user roles
9
10 user_r had a few things added which were not in staff_r. This adds them
11 to staff too so they are the same (apart from allowing staff to change
12 roles).
13
14 ---
15 policy/modules/roles/staff.te | 12 ++++++++++++
16 1 file changed, 12 insertions(+)
17
18 diff --git a/policy/modules/roles/staff.te b/policy/modules/roles/staff.te
19 index 14706de..1d4b3e0 100644
20 --- a/policy/modules/roles/staff.te
21 +++ b/policy/modules/roles/staff.te
22 @@ -192,6 +192,10 @@ ifdef(`distro_gentoo',`
23 ')
24
25 optional_policy(`
26 + dropbox_role(staff_r, staff_t)
27 + ')
28 +
29 + optional_policy(`
30 googletalk_run_plugin(staff_t, staff_r)
31 ')
32
33 @@ -200,6 +204,10 @@ ifdef(`distro_gentoo',`
34 ')
35
36 optional_policy(`
37 + hadoop_role(staff_r, staff_t)
38 + ')
39 +
40 + optional_policy(`
41 links_role(staff_r, staff_t)
42 ')
43
44 @@ -216,6 +224,10 @@ ifdef(`distro_gentoo',`
45 ')
46
47 optional_policy(`
48 + rtorrent_role(staff_r, staff_t)
49 + ')
50 +
51 + optional_policy(`
52 skype_role(staff_r, staff_t)
53 ')
54 ')