diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2011-02-05 20:41:06 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-02-05 20:41:06 +0000 |
commit | 7297073f9ae00bd1ff8f3261597591a9d73c2788 (patch) | |
tree | cc6bda71ac9301019ec59688a631926ecf3f3512 /sec-policy/selinux-mplayer | |
parent | Add ~amd64-linux/~x86-linux, use ED instead of D in a couple places (diff) | |
download | gentoo-2-7297073f9ae00bd1ff8f3261597591a9d73c2788.tar.gz gentoo-2-7297073f9ae00bd1ff8f3261597591a9d73c2788.tar.bz2 gentoo-2-7297073f9ae00bd1ff8f3261597591a9d73c2788.zip |
Bulk addition of new selinux policies.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'sec-policy/selinux-mplayer')
-rw-r--r-- | sec-policy/selinux-mplayer/ChangeLog | 13 | ||||
-rw-r--r-- | sec-policy/selinux-mplayer/files/fix-mplayer.patch | 20 | ||||
-rw-r--r-- | sec-policy/selinux-mplayer/metadata.xml | 10 | ||||
-rw-r--r-- | sec-policy/selinux-mplayer/selinux-mplayer-2.20101213.ebuild | 15 |
4 files changed, 58 insertions, 0 deletions
diff --git a/sec-policy/selinux-mplayer/ChangeLog b/sec-policy/selinux-mplayer/ChangeLog new file mode 100644 index 000000000000..504d51545cce --- /dev/null +++ b/sec-policy/selinux-mplayer/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for sec-policy/selinux-mplayer +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-mplayer/ChangeLog,v 1.1 2011/02/05 20:41:04 blueness Exp $ + + 05 Feb 2011; Anthony G. Basile <blueness@gentoo.org> ChangeLog: + Initial commit to portage. + +*selinux-mplayer-2.20101213 (07 Jan 2011) + + 07 Jan 2011; <swift@gentoo.org> +selinux-mplayer-2.20101213.ebuild, + +files/fix-mplayer.patch: + Adding mplayer module + diff --git a/sec-policy/selinux-mplayer/files/fix-mplayer.patch b/sec-policy/selinux-mplayer/files/fix-mplayer.patch new file mode 100644 index 000000000000..2e51c7b2ee11 --- /dev/null +++ b/sec-policy/selinux-mplayer/files/fix-mplayer.patch @@ -0,0 +1,20 @@ +--- apps/mplayer.te 2010-12-13 15:11:01.000000000 +0100 ++++ ../../../refpolicy/policy/modules/apps/mplayer.te 2011-01-07 21:03:00.230000033 +0100 +@@ -197,6 +197,7 @@ + dev_rwx_zero(mplayer_t) + # Access to DVD/CD/V4L + dev_read_video_dev(mplayer_t) ++dev_write_video_dev(mplayer_t) + # Audio, alsa.conf + dev_read_sound_mixer(mplayer_t) + dev_write_sound_mixer(mplayer_t) +@@ -226,6 +227,9 @@ + miscfiles_read_fonts(mplayer_t) + + userdom_use_user_terminals(mplayer_t) ++domain_use_interactive_fds(mplayer_t) ++ ++# + # Read media files + userdom_list_user_tmp(mplayer_t) + userdom_read_user_tmp_files(mplayer_t) diff --git a/sec-policy/selinux-mplayer/metadata.xml b/sec-policy/selinux-mplayer/metadata.xml new file mode 100644 index 000000000000..bcf7d6334eaf --- /dev/null +++ b/sec-policy/selinux-mplayer/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>hardened</herd> +<maintainer> + <email>selinux@gentoo.org</email> +</maintainer> +<longdescription>Gentoo SELinux policy for mplayer.</longdescription> +</pkgmetadata> + diff --git a/sec-policy/selinux-mplayer/selinux-mplayer-2.20101213.ebuild b/sec-policy/selinux-mplayer/selinux-mplayer-2.20101213.ebuild new file mode 100644 index 000000000000..1d9f53e39e55 --- /dev/null +++ b/sec-policy/selinux-mplayer/selinux-mplayer-2.20101213.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-mplayer/selinux-mplayer-2.20101213.ebuild,v 1.1 2011/02/05 20:41:04 blueness Exp $ + +IUSE="" + +MODS="mplayer" + +inherit selinux-policy-2 + +DESCRIPTION="SELinux policy for general applications" + +KEYWORDS="~amd64 ~x86" + +POLICY_PATCH="${FILESDIR}/fix-mplayer.patch" |