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 BB50A1381F3 for ; Mon, 16 Sep 2013 09:26:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37763E0AF9; Mon, 16 Sep 2013 09:26:37 +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 B86D6E0AF8 for ; Mon, 16 Sep 2013 09:26:36 +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 8ED7C33EB20 for ; Mon, 16 Sep 2013 09:26:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3FBBFE530A for ; Mon, 16 Sep 2013 09:26:34 +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: <1377600437.8baddf136477d1744838b8b76f6c326f746edcdc.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/qemu.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 8baddf136477d1744838b8b76f6c326f746edcdc X-VCS-Branch: master Date: Mon, 16 Sep 2013 09:26:34 +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: c8e77922-666a-4a09-9d8d-27b2c8a9279c X-Archives-Hash: 2114a7b2721f7de6783508d9435c01b1 commit: 8baddf136477d1744838b8b76f6c326f746edcdc Author: Sven Vermeulen siphos be> AuthorDate: Tue Aug 27 10:47:17 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Tue Aug 27 10:47:17 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=8baddf13 Allow qemu to launch VNC When running qemu/kvm with the -vnc option, no VNC server seems to be running. A denial is shown that mentions qemu_t is trying to create a udp_socket. Allowing create_socket_perms on the udp_socket is sufficient to get VNC to work properly again. --- policy/modules/contrib/qemu.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/qemu.te b/policy/modules/contrib/qemu.te index 2995e8a..9a6a082 100644 --- a/policy/modules/contrib/qemu.te +++ b/policy/modules/contrib/qemu.te @@ -63,6 +63,7 @@ ifdef(`distro_gentoo',` # Local policy # allow qemu_t self:tcp_socket create_stream_socket_perms; + allow qemu_t self:udp_socket create_socket_perms; optional_policy(` vde_connect(qemu_t)