Gentoo Archives: gentoo-commits

From: Sven Vermeulen <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/modules/contrib/
Date: Sun, 03 Jul 2016 11:34:30
Message-Id: 1465038055.c4542a5345afd96cf1cb19ec5dc23fd7bfa17171.swift@gentoo
1 commit: c4542a5345afd96cf1cb19ec5dc23fd7bfa17171
2 Author: Sven Vermeulen <swift <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 4 11:00:55 2016 +0000
4 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 4 11:00:55 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=c4542a53
7
8 Add in xdg_runtime_home_type attribute for now
9
10 policy/modules/contrib/xdg.te | 7 +++++++
11 1 file changed, 7 insertions(+)
12
13 diff --git a/policy/modules/contrib/xdg.te b/policy/modules/contrib/xdg.te
14 index 1cc9311..5ec1a12 100644
15 --- a/policy/modules/contrib/xdg.te
16 +++ b/policy/modules/contrib/xdg.te
17 @@ -11,6 +11,13 @@ attribute xdg_config_home_type;
18
19 attribute xdg_cache_home_type;
20
21 +# Not used but keep this at least two releases
22 +# We have noticed that the userdom_manage_home_role call to the xdg functions
23 +# seems to fail due to this attribute type not existing anymore while the
24 +# build seems to still require it. By waiting a couple of releases we can be more
25 +# confident that no calls to xdg_runtime_* are used anymore.
26 +attribute xdg_runtime_home_type;
27 +
28 type xdg_data_home_t;
29 xdg_data_home_content(xdg_data_home_t)