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 F2332198006 for ; Sun, 10 Mar 2013 11:15:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC7CEE066E; Sun, 10 Mar 2013 11:15:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A384E066E for ; Sun, 10 Mar 2013 11:15:13 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 02B6F33BED7 for ; Sun, 10 Mar 2013 11:15:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 9A502E4362 for ; Sun, 10 Mar 2013 11:15:10 +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: <1362913861.f1b5e84ab64a4a3d17c669b9dc8bb44f072efba6.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/mplayer.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: f1b5e84ab64a4a3d17c669b9dc8bb44f072efba6 X-VCS-Branch: master Date: Sun, 10 Mar 2013 11:15:10 +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: e94dcb50-8680-4d6b-9097-7e49b8dd89e8 X-Archives-Hash: 86093d1c87546a1fefbbb04054416f78 commit: f1b5e84ab64a4a3d17c669b9dc8bb44f072efba6 Author: Sven Vermeulen siphos be> AuthorDate: Sun Mar 10 11:10:07 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Sun Mar 10 11:11:01 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f1b5e84a Allow mplayer to stream HTTP resources --- policy/modules/contrib/mplayer.te | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/policy/modules/contrib/mplayer.te b/policy/modules/contrib/mplayer.te index fb51c30..284ffff 100644 --- a/policy/modules/contrib/mplayer.te +++ b/policy/modules/contrib/mplayer.te @@ -254,6 +254,15 @@ optional_policy(` ') ifdef(`distro_gentoo',` + ###################################### + # + # Local mplayer_t policy + # + + allow mplayer_t self:udp_socket create_socket_perms; + + corenet_tcp_connect_http_port(mplayer_t) + xdg_manage_videos_home(mplayer_t) tunable_policy(`mplayer_read_user_content',`