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 DCE1A1395E2 for ; Tue, 6 Dec 2016 12:26:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACAB2E0C07; Tue, 6 Dec 2016 12:26:46 +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 8B312E0C07 for ; Tue, 6 Dec 2016 12:26:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B3C1C3415B6 for ; Tue, 6 Dec 2016 12:26:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17BBB24C2 for ; Tue, 6 Dec 2016 12:26:38 +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: <1480262700.53ab258ab97b3fda22509e190aca69e2f15e4630.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/modutils.fc policy/modules/system/modutils.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 53ab258ab97b3fda22509e190aca69e2f15e4630 X-VCS-Branch: master Date: Tue, 6 Dec 2016 12:26:38 +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: 2b8a4bc0-7cf3-4222-a6cb-b501e1efd0e1 X-Archives-Hash: 112882f7a6df796fdac5514a1965992e commit: 53ab258ab97b3fda22509e190aca69e2f15e4630 Author: Luis Ressel aixah de> AuthorDate: Sun Nov 27 16:00:43 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Nov 27 16:05:00 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=53ab258a modutils.te: Adjustment for compatibility with our tmpfiles policy policy/modules/system/modutils.fc | 2 +- policy/modules/system/modutils.te | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/modutils.fc b/policy/modules/system/modutils.fc index 7adbbd7..1fda13f 100644 --- a/policy/modules/system/modutils.fc +++ b/policy/modules/system/modutils.fc @@ -23,4 +23,4 @@ ifdef(`distro_gentoo',` /sbin/update-modules -- gen_context(system_u:object_r:kmod_exec_t,s0) /usr/bin/kmod -- gen_context(system_u:object_r:kmod_exec_t,s0) -/var/run/tmpfiles.d(/.*)? gen_context(system_u:object_r:kmod_var_run_t,s0) +/var/run/tmpfiles\.d/kmod\.conf -- gen_context(system_u:object_r:kmod_var_run_t,s0) diff --git a/policy/modules/system/modutils.te b/policy/modules/system/modutils.te index b516d99..401f5c9 100644 --- a/policy/modules/system/modutils.te +++ b/policy/modules/system/modutils.te @@ -198,4 +198,8 @@ ifdef(`distro_gentoo',` files_list_src(kmod_t) files_manage_src_files(kmod_t) files_manage_kernel_modules(kmod_t) + + # for /run/tmpfiles.d/kmod.conf + tmpfiles_create_var_run_files(kmod_t) + filetrans_add_pattern(kmod_t, tmpfiles_var_run_t, kmod_var_run_t, file) ')