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 9A767139694 for ; Thu, 18 May 2017 16:55:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3AB7E0EC6; Thu, 18 May 2017 16:55:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 D0262E0EC5 for ; Thu, 18 May 2017 16:55:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6FF493416C5 for ; Thu, 18 May 2017 16:55:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DA5B7473 for ; Thu, 18 May 2017 16:54:57 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1494178829.77bed1b44f95619267e8a36a197fc6b5513e11ed.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift 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: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 77bed1b44f95619267e8a36a197fc6b5513e11ed X-VCS-Branch: swift Date: Thu, 18 May 2017 16:54:57 +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: 6d2c1629-335b-4d99-a3f3-df42bf9f7dcd X-Archives-Hash: 53ce81bfe805c011c7a251ff470a43a6 commit: 77bed1b44f95619267e8a36a197fc6b5513e11ed Author: Jason Zaman perfinion com> AuthorDate: Sun May 7 03:24:40 2017 +0000 Commit: Sven Vermeulen 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)