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 8B72F1381FA for ; Thu, 1 May 2014 08:47:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5144AE081D; Thu, 1 May 2014 08:47:01 +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 D184DE081D for ; Thu, 1 May 2014 08:47:00 +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 B843133FFE4 for ; Thu, 1 May 2014 08:46:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id D55021818D for ; Thu, 1 May 2014 08:46:57 +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: <1398933981.be9577afa2ce0f880abb272b8f1fe0a556ca6552.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/alsa.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: be9577afa2ce0f880abb272b8f1fe0a556ca6552 X-VCS-Branch: master Date: Thu, 1 May 2014 08:46:57 +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: a8cfd96a-96de-4fc3-beb9-63caf27ca4bf X-Archives-Hash: 27b03beb563b5dc3bfefdd1cf88949d5 commit: be9577afa2ce0f880abb272b8f1fe0a556ca6552 Author: Sven Vermeulen siphos be> AuthorDate: Thu May 1 08:46:21 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu May 1 08:46:21 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=be9577af ALSA domains need usr read access to access /usr/share/alsa/* --- policy/modules/contrib/alsa.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/contrib/alsa.te b/policy/modules/contrib/alsa.te index ee37692..93cd23b 100644 --- a/policy/modules/contrib/alsa.te +++ b/policy/modules/contrib/alsa.te @@ -128,6 +128,9 @@ ifdef(`distro_gentoo',` allow alsadomain alsadomain:shm rw_shm_perms; allow alsadomain alsatmpfsfile:file rw_file_perms; + # ALSA applications need access to /usr/share/alsa/* + files_read_usr_files(alsadomain) + alsa_read_rw_config(alsadomain) alsa_read_home_files(alsadomain) ')