Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/
Date: Sun, 01 Jan 2017 16:37:48
Message-Id: 1483287988.989ddb737f2e045e534d3238a9ed8248faf55c83.perfinion@gentoo
1 commit: 989ddb737f2e045e534d3238a9ed8248faf55c83
2 Author: Guido Trentalancia <guido <AT> trentalancia <DOT> net>
3 AuthorDate: Tue Dec 27 15:33:57 2016 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 1 16:26:28 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=989ddb73
7
8 base: use new genhomedircon template for username
9
10 Use the new genhomedircon templates for username-dependant
11 file contexts (requires libsemanage >= 2.6).
12
13 This is the base policy part (1/2).
14
15 policy/modules/system/userdomain.fc | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/policy/modules/system/userdomain.fc b/policy/modules/system/userdomain.fc
19 index c8b881e..6c813b4 100644
20 --- a/policy/modules/system/userdomain.fc
21 +++ b/policy/modules/system/userdomain.fc
22 @@ -2,7 +2,7 @@ HOME_DIR -d gen_context(system_u:object_r:user_home_dir_t,s0-mls_systemhigh)
23 HOME_DIR/.+ gen_context(system_u:object_r:user_home_t,s0)
24 HOME_DIR/\.pki(/.*)? gen_context(system_u:object_r:user_cert_t,s0)
25
26 -/tmp/gconfd-USER -d gen_context(system_u:object_r:user_tmp_t,s0)
27 +/tmp/gconfd-%{USERNAME} -d gen_context(system_u:object_r:user_tmp_t,s0)
28
29 /run/user -d gen_context(system_u:object_r:user_runtime_root_t,s0)
30 /run/user/[^/]+ -d gen_context(system_u:object_r:user_runtime_t,s0)