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/services/
Date: Fri, 17 Nov 2017 14:59:39
Message-Id: 1510708267.e4cb86ffdac851ff96281ca1e185f2efff824b11.perfinion@gentoo
1 commit: e4cb86ffdac851ff96281ca1e185f2efff824b11
2 Author: Luis Ressel <aranea <AT> aixah <DOT> de>
3 AuthorDate: Tue Nov 14 02:03:53 2017 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 15 01:11:07 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=e4cb86ff
7
8 xserver: Allow xdm_t to map usr_t files
9
10 This is required for gtk-based login managers to access gtk's icon
11 cache. IIRC, past discussion on the ML came to the conclusion that
12 adding a new domain for this would be overkill.
13
14 policy/modules/services/xserver.te | 1 +
15 1 file changed, 1 insertion(+)
16
17 diff --git a/policy/modules/services/xserver.te b/policy/modules/services/xserver.te
18 index 60570875..7e5a97d3 100644
19 --- a/policy/modules/services/xserver.te
20 +++ b/policy/modules/services/xserver.te
21 @@ -450,6 +450,7 @@ files_read_etc_runtime_files(xdm_t)
22 files_exec_etc_files(xdm_t)
23 files_list_mnt(xdm_t)
24 # Read /usr/share/terminfo/l/linux and /usr/share/icons/default/index.theme...
25 +files_map_usr_files(xdm_t)
26 files_read_usr_files(xdm_t)
27 # Poweroff wants to create the /poweroff file when run from xdm
28 files_create_boot_flag(xdm_t)