public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile (blueness)" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sec-policy/selinux-qemu/files: fix-apps-qemu.patch
Date: Sat,  5 Feb 2011 20:41:04 +0000 (UTC)	[thread overview]
Message-ID: <20110205204104.4FB4520060@flycatcher.gentoo.org> (raw)

blueness    11/02/05 20:41:04

  Added:                fix-apps-qemu.patch
  Log:
  Bulk addition of new selinux policies.
  
  (Portage version: 2.1.9.25/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sec-policy/selinux-qemu/files/fix-apps-qemu.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-qemu/files/fix-apps-qemu.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-qemu/files/fix-apps-qemu.patch?rev=1.1&content-type=text/plain

Index: fix-apps-qemu.patch
===================================================================
--- apps/qemu.te	2010-12-13 15:11:01.000000000 +0100
+++ apps/qemu.te	2011-01-22 21:35:19.555999967 +0100
@@ -56,6 +56,10 @@
 userdom_search_user_home_content(qemu_t)
 userdom_read_user_tmpfs_files(qemu_t)
 
+allow qemu_t self:socket create_socket_perms;
+
+kernel_request_load_module(qemu_t)
+
 tunable_policy(`qemu_full_network',`
 	allow qemu_t self:udp_socket create_socket_perms;
 
@@ -116,3 +120,7 @@
 	allow unconfined_qemu_t self:process { execstack execmem };
 	allow unconfined_qemu_t qemu_exec_t:file execmod;
 ')
+
+optional_policy(`
+	vde_connect(qemu_t)
+')






                 reply	other threads:[~2011-02-05 20:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20110205204104.4FB4520060@flycatcher.gentoo.org \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox