From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SiQZn-0003GN-Gx for garchives@archives.gentoo.org; Sat, 23 Jun 2012 13:40:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72B13E09CA; Sat, 23 Jun 2012 13:40:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 43D80E09CA for ; Sat, 23 Jun 2012 13:40:05 +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 20A491B4041 for ; Sat, 23 Jun 2012 13:40:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id DD082E5438 for ; Sat, 23 Jun 2012 13:40:02 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1338314721.d769d593e6a63a83a2ed5851a7269e497c8d7fb1.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.fc X-VCS-Directories: policy/modules/system/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: d769d593e6a63a83a2ed5851a7269e497c8d7fb1 X-VCS-Branch: master Date: Sat, 23 Jun 2012 13:40:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 88ae4e23-e563-4f7b-96f4-626b7a741be2 X-Archives-Hash: faa675a28354a7fd9deb88e79539a42c commit: d769d593e6a63a83a2ed5851a7269e497c8d7fb1 Author: Sven Vermeulen siphos be> AuthorDate: Tue May 29 18:05:21 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Tue May 29 18:05:21 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/hardened-refp= olicy.git;a=3Dcommit;h=3Dd769d593 Setting contexts for udev correct too so that the filetrans can also be r= eset --- policy/modules/system/udev.fc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.f= c index dc822f5..f2286ef 100644 --- a/policy/modules/system/udev.fc +++ b/policy/modules/system/udev.fc @@ -31,7 +31,8 @@ ifdef(`distro_redhat',` /usr/bin/udevinfo -- gen_context(system_u:object_r:udev_exec_t,s0) =20 /var/run/PackageKit/udev(/.*)? gen_context(system_u:object_r:udev_var_ru= n_t,s0) -/var/run/udev(/.*)? gen_context(system_u:object_r:udev_tbl_t,s0) +/var/run/udev -d gen_context(system_u:object_r:udev_var_run_t,s0) +/var/run/udev/rules\.d(/.*)? gen_context(system_u:object_r:udev_tbl_t,s0= ) =20 ifdef(`distro_debian',` /var/run/xen-hotplug -d gen_context(system_u:object_r:udev_var_run_t,s0)