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 23E8013877A for ; Sun, 6 Jul 2014 09:49:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2369CE07D7; Sun, 6 Jul 2014 09:49:48 +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 7E784E07D7 for ; Sun, 6 Jul 2014 09:49:47 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8123E33F7E0 for ; Sun, 6 Jul 2014 09:49:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id CD6E3193E5 for ; Sun, 6 Jul 2014 09:49:44 +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: <1404640100.9668ef191f10834fd4d5904c8a5a9f62eb04dfb4.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/chromium.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 9668ef191f10834fd4d5904c8a5a9f62eb04dfb4 X-VCS-Branch: master Date: Sun, 6 Jul 2014 09:49:44 +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: 83f8dcbd-c153-4569-a0a7-3147f552847d X-Archives-Hash: 59d5d0b0f5739db2c1bd06238f75d771 commit: 9668ef191f10834fd4d5904c8a5a9f62eb04dfb4 Author: Jason Zaman perfinion com> AuthorDate: Sat Jul 5 16:19:09 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Jul 6 09:48:20 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=9668ef19 dontaudits for chromium When chromium_read_system_info is enabled, chromium tries to getattr on a lot of files in /dev. They are not required and this quiets chromium a bit more. Signed-off-by: Jason Zaman perfinion.com> --- policy/modules/contrib/chromium.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/contrib/chromium.te b/policy/modules/contrib/chromium.te index 878d8c9..0f72dd7 100644 --- a/policy/modules/contrib/chromium.te +++ b/policy/modules/contrib/chromium.te @@ -191,6 +191,9 @@ tunable_policy(`chromium_read_system_info',` storage_getattr_fixed_disk_dev(chromium_t) files_read_etc_runtime_files(chromium_t) + + dev_dontaudit_getattr_all_chr_files(chromium_t) + init_dontaudit_getattr_initctl(chromium_t) ',` kernel_dontaudit_read_kernel_sysctls(chromium_t) kernel_dontaudit_read_system_state(chromium_t)