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 CABE31388C1 for ; Sun, 22 Nov 2015 10:14:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BD6A21C00B; Sun, 22 Nov 2015 10:14:44 +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 E13F321C00B for ; Sun, 22 Nov 2015 10:14:43 +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 F1C3E340871 for ; Sun, 22 Nov 2015 10:14:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39DCCFFB for ; Sun, 22 Nov 2015 10:14:39 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1447827002.9ce39c14756e16c12ef1f09e9e0e063e14fb18d4.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next 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: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 9ce39c14756e16c12ef1f09e9e0e063e14fb18d4 X-VCS-Branch: next Date: Sun, 22 Nov 2015 10:14:39 +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: beb0caf6-9cba-438c-91bb-c413771585eb X-Archives-Hash: c20f55db9b57076186775cd31da09b58 commit: 9ce39c14756e16c12ef1f09e9e0e063e14fb18d4 Author: Jason Zaman perfinion com> AuthorDate: Wed Nov 18 06:10:02 2015 +0000 Commit: Jason Zaman 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; ') 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 B9EEE1384B4 for ; Mon, 23 Nov 2015 13:41:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D6D121C0AE; Mon, 23 Nov 2015 13:41:43 +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 C568E21C0AE for ; Mon, 23 Nov 2015 13:41:42 +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 DDF743406A7 for ; Mon, 23 Nov 2015 13:41:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A3E3FF9 for ; Mon, 23 Nov 2015 13:41:39 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1447827002.9ce39c14756e16c12ef1f09e9e0e063e14fb18d4.perfinion@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/pulseaudio.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 9ce39c14756e16c12ef1f09e9e0e063e14fb18d4 X-VCS-Branch: master Date: Mon, 23 Nov 2015 13:41:39 +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: 822477d2-33c0-4558-93ca-14d6b322f71a X-Archives-Hash: eb85d36d6b420cdc6071892a79fc148b Message-ID: <20151123134139.Afd-TgHOciN0ZW7TUaPUOfx4pN8guT9nI9sLpak_5OM@z> commit: 9ce39c14756e16c12ef1f09e9e0e063e14fb18d4 Author: Jason Zaman perfinion com> AuthorDate: Wed Nov 18 06:10:02 2015 +0000 Commit: Jason Zaman 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; ')