Gentoo Archives: gentoo-commits

From: Sven Vermeulen <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/
Date: Fri, 28 Nov 2014 10:04:15
Message-Id: 1417004891.30ac48af98cd4789dcfcb897a969d51233844db4.swift@gentoo
1 commit: 30ac48af98cd4789dcfcb897a969d51233844db4
2 Author: Jason Zaman <jason <AT> perfinion <DOT> com>
3 AuthorDate: Tue Nov 25 20:04:56 2014 +0000
4 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 26 12:28:11 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=30ac48af
7
8 Allow admin users to manage user tmp chr_files
9
10 Needed when building initrds.
11
12 ---
13 policy/modules/system/userdomain.if | 2 ++
14 1 file changed, 2 insertions(+)
15
16 diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if
17 index eba23be..1d5370c 100644
18 --- a/policy/modules/system/userdomain.if
19 +++ b/policy/modules/system/userdomain.if
20 @@ -1249,6 +1249,8 @@ template(`userdom_admin_user_template',`
21 allow $1_t self:netlink_kobject_uevent_socket create_socket_perms;
22 # Moved out of files_relabel_non_auth_files as it cannot be used in tunable_policy otherwise
23 seutil_relabelto_bin_policy($1_t)
24 + # allow to manage chr_files in user_tmp (for initrd's)
25 + userdom_manage_user_tmp_chr_files($1_t)
26 ')
27 ')