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/system/
Date: Thu, 31 Mar 2022 03:31:31
Message-Id: 1648694453.7b9bf7671fd0f56c1761f3a7c0e4e11844cd51d3.perfinion@gentoo
1 commit: 7b9bf7671fd0f56c1761f3a7c0e4e11844cd51d3
2 Author: Kenton Groombridge <me <AT> concord <DOT> sh>
3 AuthorDate: Tue Nov 30 17:11:56 2021 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 02:40:53 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=7b9bf767
7
8 unconfined: fixes for bluetooth dbus chat and systemd
9
10 Signed-off-by: Kenton Groombridge <me <AT> concord.sh>
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 policy/modules/system/unconfined.te | 5 +++++
14 1 file changed, 5 insertions(+)
15
16 diff --git a/policy/modules/system/unconfined.te b/policy/modules/system/unconfined.te
17 index df6fbdb7..dacad205 100644
18 --- a/policy/modules/system/unconfined.te
19 +++ b/policy/modules/system/unconfined.te
20 @@ -60,6 +60,7 @@ ifdef(`init_systemd',`
21 init_service_status(unconfined_t)
22 # for systemd --user:
23 init_pgm_spec_user_daemon_domain(unconfined_t)
24 + allow unconfined_t self:system { status start stop reload };
25
26 optional_policy(`
27 systemd_dbus_chat_resolved(unconfined_t)
28 @@ -76,6 +77,10 @@ optional_policy(`
29 bind_run_ndc(unconfined_t, unconfined_r)
30 ')
31
32 +optional_policy(`
33 + bluetooth_dbus_chat(unconfined_t)
34 +')
35 +
36 optional_policy(`
37 bootloader_run(unconfined_t, unconfined_r)
38 ')