From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 851C4139087 for ; Sun, 1 Jan 2017 16:36:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9F36E0E7D; Sun, 1 Jan 2017 16:36:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB783E0E7D for ; Sun, 1 Jan 2017 16:36:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EBD78340F53 for ; Sun, 1 Jan 2017 16:36:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B375325C5 for ; Sun, 1 Jan 2017 16:36:49 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1483287988.72650f3e45abe1df97d416208d4472ae9956fd7a.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/xserver.if X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 72650f3e45abe1df97d416208d4472ae9956fd7a X-VCS-Branch: master Date: Sun, 1 Jan 2017 16:36:49 +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: 261cb198-3df6-4277-9965-1b9531b23cd0 X-Archives-Hash: d42c4ac57ef62cb8c709304893fcdb8e commit: 72650f3e45abe1df97d416208d4472ae9956fd7a Author: Chris PeBenito ieee org> AuthorDate: Sun Dec 18 22:53:46 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Jan 1 16:26:28 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=72650f3e xserver: Move interface definition. policy/modules/services/xserver.if | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/policy/modules/services/xserver.if b/policy/modules/services/xserver.if index bebc419..c1d41b5 100644 --- a/policy/modules/services/xserver.if +++ b/policy/modules/services/xserver.if @@ -792,6 +792,25 @@ interface(`xserver_read_xdm_state',` ######################################## ## +## Set the priority of the X Display +## Manager (XDM). +## +## +## +## Domain allowed access. +## +## +# +interface(`xserver_setsched_xdm',` + gen_require(` + type xdm_t; + ') + + allow $1 xdm_t:process setsched; +') + +######################################## +## ## Create, read, write, and delete ## xdm_spool files. ## @@ -1349,22 +1368,3 @@ interface(`xserver_unconfined',` typeattribute $1 x_domain; typeattribute $1 xserver_unconfined_type; ') - -######################################## -## -## Set the priority of the X Display -## Manager (XDM). -## -## -## -## Domain allowed access. -## -## -# -interface(`xserver_setsched_xdm',` - gen_require(` - type xdm_t; - ') - - allow $1 xdm_t:process setsched; -')