From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A612E138247 for ; Fri, 20 Dec 2013 21:00:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12966E0B20; Fri, 20 Dec 2013 21:00:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18B66E0B1F for ; Fri, 20 Dec 2013 21:00:16 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E7C233F5B5 for ; Fri, 20 Dec 2013 21:00:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id EC06F110358 for ; Fri, 20 Dec 2013 21:00:12 +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: <1387573012.2938abacd51fc8b7f6f33bccb2d81fb86d8958e9.swift@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/udev.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 2938abacd51fc8b7f6f33bccb2d81fb86d8958e9 X-VCS-Branch: master Date: Fri, 20 Dec 2013 21:00:12 +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: ca078aa5-513d-42e0-bb86-511727148f61 X-Archives-Hash: c1490851f939ffc88524309d019062ae commit: 2938abacd51fc8b7f6f33bccb2d81fb86d8958e9 Author: Laurent Bigonville bigon be> AuthorDate: Mon Dec 16 16:08:19 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Dec 20 20:56:52 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=2938abac Allow udev to write in /etc/udev/rules.d Udev is writing persistent rules in /etc/udev/rules.d to ensure the network interfaces and storage devices have a persistent name. This patch has been taken from the Fedora policy --- policy/modules/system/udev.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te index a7078c4..04ca970 100644 --- a/policy/modules/system/udev.te +++ b/policy/modules/system/udev.te @@ -68,7 +68,8 @@ allow udev_t udev_tbl_t:file manage_file_perms; dev_filetrans(udev_t, udev_tbl_t, file) list_dirs_pattern(udev_t, udev_rules_t, udev_rules_t) -read_files_pattern(udev_t, udev_rules_t, udev_rules_t) +manage_files_pattern(udev_t, udev_rules_t, udev_rules_t) +manage_lnk_files_pattern(udev_t, udev_rules_t, udev_rules_t) manage_dirs_pattern(udev_t, udev_var_run_t, udev_var_run_t) manage_files_pattern(udev_t, udev_var_run_t, udev_var_run_t)