From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3B2D2139694 for ; Sun, 7 May 2017 17:47:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B67521C0C9; Sun, 7 May 2017 17:47:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 38A4521C0C6 for ; Sun, 7 May 2017 17:47:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 77C603416D1 for ; Sun, 7 May 2017 17:47:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BFA57454 for ; Sun, 7 May 2017 17:47:13 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1494178829.77bed1b44f95619267e8a36a197fc6b5513e11ed.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/modutils.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 77bed1b44f95619267e8a36a197fc6b5513e11ed X-VCS-Branch: next Date: Sun, 7 May 2017 17:47:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9dd6d767-8b66-484c-931b-7b2697e273aa X-Archives-Hash: 2d760aaf8fd544f012814893189b1b7d Message-ID: <20170507174713.CAt3eKuqA1jz66CLshWtavu3_SVvt6ieuUpDWS9jMtc@z> commit: 77bed1b44f95619267e8a36a197fc6b5513e11ed Author: Jason Zaman perfinion com> AuthorDate: Sun May 7 03:24:40 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun May 7 17:40:29 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=77bed1b4 modutils: kmod_tmpfiles_conf_t create should be allowed even for openrc policy/modules/system/modutils.te | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/policy/modules/system/modutils.te b/policy/modules/system/modutils.te index 1c52e0b5..80831320 100644 --- a/policy/modules/system/modutils.te +++ b/policy/modules/system/modutils.te @@ -49,6 +49,7 @@ manage_files_pattern(kmod_t, modules_dep_t, modules_dep_t) filetrans_add_pattern(kmod_t, modules_object_t, modules_dep_t, file) create_files_pattern(kmod_t, modules_object_t, modules_dep_t) delete_files_pattern(kmod_t, modules_object_t, modules_dep_t) +allow kmod_t kmod_tmpfiles_conf_t:file manage_file_perms; can_exec(kmod_t, kmod_exec_t) @@ -115,8 +116,6 @@ userdom_use_user_terminals(kmod_t) userdom_dontaudit_search_user_home_dirs(kmod_t) ifdef(`init_systemd',` - # for /run/tmpfiles.d/kmod.conf - allow kmod_t kmod_tmpfiles_conf_t:file manage_file_perms; # kmod needs to create /run/tmpdiles.d systemd_tmpfiles_creator(kmod_t)