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 82F4A1384B4 for ; Wed, 2 Dec 2015 15:45:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5605921C0A2; Wed, 2 Dec 2015 15:45:34 +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 7B1B721C09F for ; Wed, 2 Dec 2015 15:45:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98AAF34096F for ; Wed, 2 Dec 2015 15:45:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09723F50 for ; Wed, 2 Dec 2015 15:45:24 +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: <1447827002.9ce39c14756e16c12ef1f09e9e0e063e14fb18d4.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/pulseaudio.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 9ce39c14756e16c12ef1f09e9e0e063e14fb18d4 X-VCS-Branch: swift Date: Wed, 2 Dec 2015 15:45:24 +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: 2deb6089-e758-4f88-bade-cbc14294eb98 X-Archives-Hash: 97623daa0bfab820cb06cc504542a033 commit: 9ce39c14756e16c12ef1f09e9e0e063e14fb18d4 Author: Jason Zaman perfinion com> AuthorDate: Wed Nov 18 06:10:02 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Wed Nov 18 06:10:02 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=9ce39c14 pulseaudio: add fd perms for v7 avc: denied { use } for pid=19660 comm="threaded-ml" path="anon_inode:[eventfd]" dev="anon_inodefs" ino=7523 scontext=staff_u:staff_r:mplayer_t:s0-s0:c0.c511 tcontext=staff_u:staff_r:pulseaudio_t:s0-s0:c0.c511 tclass=fd permissive=0 avc: denied { write } for pid=19792 comm="threaded-ml" name="pulse-shm-1853902321" dev="tmpfs" ino=183175232 scontext=staff_u:staff_r:mplayer_t:s0-s0:c0.c511 tcontext=staff_u:object_r:pulseaudio_tmpfs_t:s0 tclass=file permissive=0 policy/modules/contrib/pulseaudio.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/contrib/pulseaudio.te b/policy/modules/contrib/pulseaudio.te index 1a25024..4dc75b1 100644 --- a/policy/modules/contrib/pulseaudio.te +++ b/policy/modules/contrib/pulseaudio.te @@ -277,4 +277,8 @@ ifdef(`distro_gentoo',` # /tmp/pulse-* gets created by the clients usually as user_tmp_t, bug 556526 userdom_list_user_tmp(pulseaudio_client) + + # pulse 7 uses fd's + allow pulseaudio_client pulseaudio_t:fd use; + allow pulseaudio_client pulseaudio_tmpfs_t:file rw_file_perms; ')