Gentoo Archives: gentoo-commits

From: Sven Vermeulen <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/
Date: Mon, 30 Sep 2013 19:03:47
Message-Id: 1380567727.f70791c2ada8040fc3788a8da002435193ce015a.swift@gentoo
1 commit: f70791c2ada8040fc3788a8da002435193ce015a
2 Author: Dominick Grift <dominick.grift <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 26 07:02:23 2013 +0000
4 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 30 19:02:07 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f70791c2
7
8 alsa: alsactl wants to associate pulse-shm-.* to device_t type filesystems. This happens early on but i do not understand how that (/dev) relates to /dev/shm in this regard
9
10 alsa: alsactl reads /var/lib/dbus/machine-id
11
12 Signed-off-by: Dominick Grift <dominick.grift <AT> gmail.com>
13
14 ---
15 policy/modules/contrib/alsa.te | 7 ++++++-
16 1 file changed, 6 insertions(+), 1 deletion(-)
17
18 diff --git a/policy/modules/contrib/alsa.te b/policy/modules/contrib/alsa.te
19 index db4a986..595a217 100644
20 --- a/policy/modules/contrib/alsa.te
21 +++ b/policy/modules/contrib/alsa.te
22 @@ -1,4 +1,4 @@
23 -policy_module(alsa, 1.12.1)
24 +policy_module(alsa, 1.12.2)
25
26 ########################################
27 #
28 @@ -21,6 +21,7 @@ files_tmp_file(alsa_tmp_t)
29 type alsa_tmpfs_t;
30 files_tmpfs_file(alsa_tmpfs_t)
31 pulseaudio_tmpfs_content(alsa_tmpfs_t)
32 +dev_associate(alsa_tmpfs_t)
33
34 type alsa_var_lib_t;
35 files_type(alsa_var_lib_t)
36 @@ -90,6 +91,10 @@ userdom_manage_unpriv_user_shared_mem(alsa_t)
37 userdom_search_user_home_dirs(alsa_t)
38
39 optional_policy(`
40 + dbus_read_lib_files(alsa_t)
41 +')
42 +
43 +optional_policy(`
44 hal_use_fds(alsa_t)
45 hal_write_log(alsa_t)
46 ')