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 EF97A138CD4 for ; Sat, 16 May 2015 11:31:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20D8FE08F6; Sat, 16 May 2015 11:31:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD8E1E08FA for ; Sat, 16 May 2015 11:31:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1036C340D19 for ; Sat, 16 May 2015 11:31:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 35DA89AA for ; Sat, 16 May 2015 11:31:07 +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: <1431774529.a2a70a8441dcf2d226c6f35ee8549acc420b0be1.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/admin/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/admin/sudo.if X-VCS-Directories: policy/modules/admin/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: a2a70a8441dcf2d226c6f35ee8549acc420b0be1 X-VCS-Branch: master Date: Sat, 16 May 2015 11:31:07 +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: d863956c-8768-453c-ad86-6806e0c0a1f3 X-Archives-Hash: c3eb63fbfe035bb34eee22f350b22404 commit: a2a70a8441dcf2d226c6f35ee8549acc420b0be1 Author: Sven Vermeulen siphos be> AuthorDate: Sat May 16 11:08:49 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sat May 16 11:08:49 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=a2a70a84 Fix bug #549640 - Add dontaudit getattr on chr and blk devices for sudo domain policy/modules/admin/sudo.if | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/policy/modules/admin/sudo.if b/policy/modules/admin/sudo.if index 56ce11c..8bd1963 100644 --- a/policy/modules/admin/sudo.if +++ b/policy/modules/admin/sudo.if @@ -160,6 +160,12 @@ template(`sudo_role_template',` optional_policy(` fprintd_dbus_chat($1_sudo_t) ') + + ifdef(`distro_gentoo',` + # Fix bug 549640 - Add dontaudit getattr on chr and blk devices as is done with regular user domains too + dev_dontaudit_getattr_all_blk_files($1_sudo_t) + dev_dontaudit_getattr_all_chr_files($1_sudo_t) + ') ') ######################################## 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 56731138CCE for ; Sat, 16 May 2015 11:10:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBE30E08E9; Sat, 16 May 2015 11:10:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98B7EE08E9 for ; Sat, 16 May 2015 11:10:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E59CE340DDA for ; Sat, 16 May 2015 11:10:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0AA69AA for ; Sat, 16 May 2015 11:10:00 +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: <1431774529.a2a70a8441dcf2d226c6f35ee8549acc420b0be1.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/modules/admin/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/admin/sudo.if X-VCS-Directories: policy/modules/admin/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: a2a70a8441dcf2d226c6f35ee8549acc420b0be1 X-VCS-Branch: swift Date: Sat, 16 May 2015 11:10:00 +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: 39b969b3-6f07-4dce-8ef2-6361aa7227db X-Archives-Hash: 49f60bf32852a6fd5d04e9e136c7d2ae Message-ID: <20150516111000.7zHFPdOIsoHiIoNn7uKbedfbtfDHMAhNR16oo4f9WJg@z> commit: a2a70a8441dcf2d226c6f35ee8549acc420b0be1 Author: Sven Vermeulen siphos be> AuthorDate: Sat May 16 11:08:49 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sat May 16 11:08:49 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=a2a70a84 Fix bug #549640 - Add dontaudit getattr on chr and blk devices for sudo domain policy/modules/admin/sudo.if | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/policy/modules/admin/sudo.if b/policy/modules/admin/sudo.if index 56ce11c..8bd1963 100644 --- a/policy/modules/admin/sudo.if +++ b/policy/modules/admin/sudo.if @@ -160,6 +160,12 @@ template(`sudo_role_template',` optional_policy(` fprintd_dbus_chat($1_sudo_t) ') + + ifdef(`distro_gentoo',` + # Fix bug 549640 - Add dontaudit getattr on chr and blk devices as is done with regular user domains too + dev_dontaudit_getattr_all_blk_files($1_sudo_t) + dev_dontaudit_getattr_all_chr_files($1_sudo_t) + ') ') ########################################