Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/roles/
Date: Sat, 30 May 2015 16:15:55
Message-Id: 1433001629.bfd35800dc901a938a2aef452538cf417e2861e5.perfinion@gentoo
1 commit: bfd35800dc901a938a2aef452538cf417e2861e5
2 Author: Jason Zaman <jason <AT> perfinion <DOT> com>
3 AuthorDate: Sat May 30 15:54:07 2015 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sat May 30 16:00:29 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=bfd35800
7
8 Add kdeconnect role entries
9
10 bug 536672
11
12 policy/modules/roles/staff.te | 5 +++++
13 policy/modules/roles/unprivuser.te | 5 +++++
14 2 files changed, 10 insertions(+)
15
16 diff --git a/policy/modules/roles/staff.te b/policy/modules/roles/staff.te
17 index 13ecf4d..30e13d2 100644
18 --- a/policy/modules/roles/staff.te
19 +++ b/policy/modules/roles/staff.te
20 @@ -222,6 +222,11 @@ ifdef(`distro_gentoo',`
21 ')
22
23 optional_policy(`
24 + kdeconnect_role(staff_r, staff_t)
25 + kdeconnect_dbus_chat(staff_t)
26 + ')
27 +
28 + optional_policy(`
29 links_role(staff_r, staff_t)
30 ')
31
32
33 diff --git a/policy/modules/roles/unprivuser.te b/policy/modules/roles/unprivuser.te
34 index 93e2d60..eca14f1 100644
35 --- a/policy/modules/roles/unprivuser.te
36 +++ b/policy/modules/roles/unprivuser.te
37 @@ -202,6 +202,11 @@ ifdef(`distro_gentoo',`
38 ')
39
40 optional_policy(`
41 + kdeconnect_role(user_r, user_t)
42 + kdeconnect_dbus_chat(user_t)
43 + ')
44 +
45 + optional_policy(`
46 links_role(user_r, user_t)
47 ')