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 7C6B51381F3 for ; Mon, 12 Nov 2012 21:59:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB345E0603; Mon, 12 Nov 2012 21:59:01 +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 15CCFE056C for ; Mon, 12 Nov 2012 21:59:00 +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 0C68C33D98B for ; Mon, 12 Nov 2012 21:59:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CC4D6E544D for ; Mon, 12 Nov 2012 21:58:56 +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: <1352757198.ca4d3097a55b3f6b334664d3d1c98e1204cd1396.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: ca4d3097a55b3f6b334664d3d1c98e1204cd1396 X-VCS-Branch: master Date: Mon, 12 Nov 2012 21:58:56 +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: f9877cfb-3a88-491e-b5db-3b37b563499b X-Archives-Hash: ddc8ca28f94c3014c003272f14619814 commit: ca4d3097a55b3f6b334664d3d1c98e1204cd1396 Author: Sven Vermeulen siphos be> AuthorDate: Mon Nov 12 21:53:18 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Mon Nov 12 21:53:18 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=ca4d3097 Allow udev the block_suspend capability --- policy/modules/system/udev.te | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te index 0ad9110..a4f7e88 100644 --- a/policy/modules/system/udev.te +++ b/policy/modules/system/udev.te @@ -180,6 +180,8 @@ userdom_dontaudit_search_user_home_content(udev_t) udev_pid_filetrans_db(udev_t, dir, "data") ifdef(`distro_gentoo',` + allow udev_t self:capability2 block_suspend; + # during boot, init scripts use /dev/.rcsysinit # existance to determine if we are in early booting init_getattr_script_status_files(udev_t)