All of lore.kernel.org
 help / color / mirror / Atom feed
From: dominick.grift@gmail.com (Dominick Grift)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/6] mplayer streams HTTP resources
Date: Mon, 11 Mar 2013 09:22:17 +0100	[thread overview]
Message-ID: <1362990137.8756.0.camel@d30> (raw)
In-Reply-To: <1362927170-31116-2-git-send-email-sven.vermeulen@siphos.be>

On Sun, 2013-03-10 at 15:52 +0100, Sven Vermeulen wrote:
> Needed to allow mplayer to stream HTTP resources (like webradios).

Merged with additional networking rules for compatibility, Thanks

> Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
> ---
>  mplayer.te | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/mplayer.te b/mplayer.te
> index 9aca704..802e494 100644
> --- a/mplayer.te
> +++ b/mplayer.te
> @@ -130,6 +130,7 @@ tunable_policy(`use_samba_home_dirs',`
>  allow mplayer_t self:process { signal_perms getsched };
>  allow mplayer_t self:fifo_file rw_fifo_file_perms;
>  allow mplayer_t self:sem create_sem_perms;
> +allow mplayer_t self:udp_socket create_socket_perms;
>  
>  allow mplayer_t mplayer_etc_t:dir list_dir_perms;
>  allow mplayer_t mplayer_etc_t:file read_file_perms;
> @@ -155,6 +156,8 @@ kernel_read_kernel_sysctls(mplayer_t)
>  corecmd_exec_bin(mplayer_t)
>  corecmd_exec_shell(mplayer_t)
>  
> +corenet_tcp_connect_http_port(mplayer_t)
> +
>  dev_read_rand(mplayer_t)
>  dev_read_realtime_clock(mplayer_t)
>  dev_read_sound_mixer(mplayer_t)

  reply	other threads:[~2013-03-11  8:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-10 14:52 [refpolicy] [PATCH 0/6] Minor updates on contrib Sven Vermeulen
2013-03-10 14:52 ` [refpolicy] [PATCH 1/6] mplayer streams HTTP resources Sven Vermeulen
2013-03-11  8:22   ` Dominick Grift [this message]
2013-03-10 14:52 ` [refpolicy] [PATCH 2/6] fcron and fcronsighup binaries are moved Sven Vermeulen
2013-03-11  8:22   ` Dominick Grift
2013-03-10 14:52 ` [refpolicy] [PATCH 3/6] Add in contexts for fcron rm.systab and systab.tmp Sven Vermeulen
2013-03-11  7:04   ` Russell Coker
2013-03-11  7:42     ` Sven Vermeulen
2013-03-12 23:35       ` Russell Coker
2013-03-11  8:25   ` Dominick Grift
2013-03-10 14:52 ` [refpolicy] [PATCH 4/6] Asterisk needs to search through logs Sven Vermeulen
2013-03-11  8:23   ` Dominick Grift
2013-03-10 14:52 ` [refpolicy] [PATCH 5/6] Denial in mail log on node bind Sven Vermeulen
2013-03-11  8:24   ` Dominick Grift
2013-03-10 14:52 ` [refpolicy] [PATCH 6/6] Fix typo in mcelog_admin (missing bracket) Sven Vermeulen
2013-03-11  8:24   ` Dominick Grift

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1362990137.8756.0.camel@d30 \
    --to=dominick.grift@gmail.com \
    --cc=refpolicy@oss.tresys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.