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 981E458973 for ; Sat, 30 Jan 2016 17:21:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E754021C01E; Sat, 30 Jan 2016 17:21:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 94CA121C01E for ; Sat, 30 Jan 2016 17:21:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9EFFE340C60 for ; Sat, 30 Jan 2016 17:21:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C2D3CEB for ; Sat, 30 Jan 2016 17:21:18 +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: <1454174216.d3276d612490b7dad0eb6731d49ded1e0761c5ef.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.fc X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: d3276d612490b7dad0eb6731d49ded1e0761c5ef X-VCS-Branch: master Date: Sat, 30 Jan 2016 17:21:18 +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: 32ac3052-5155-4308-9577-237524801af4 X-Archives-Hash: 93bffbd5cfa6e1e72f3ea3299f0e2c3d commit: d3276d612490b7dad0eb6731d49ded1e0761c5ef Author: Laurent Bigonville bigon be> AuthorDate: Thu Jan 7 15:46:49 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Jan 30 17:16:56 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d3276d61 Label Xorg server binary correctly on Debian On Debian, /usr/bin/Xorg is only a shell script which executes /usr/lib/xorg/Xorg.wrap, which is a SUID binary wrapper around /usr/lib/xorg/Xorg. policy/modules/services/xserver.fc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/services/xserver.fc b/policy/modules/services/xserver.fc index 619bb9f..a531dba 100644 --- a/policy/modules/services/xserver.fc +++ b/policy/modules/services/xserver.fc @@ -71,6 +71,8 @@ HOME_DIR/\.Xauthority.* -- gen_context(system_u:object_r:xauth_home_t,s0) /usr/bin/Xorg -- gen_context(system_u:object_r:xserver_exec_t,s0) /usr/lib/qt-.*/etc/settings(/.*)? gen_context(system_u:object_r:xdm_var_run_t,s0) +/usr/lib/xorg/Xorg -- gen_context(system_u:object_r:xserver_exec_t,s0) +/usr/lib/xorg/Xorg\.wrap -- gen_context(system_u:object_r:xserver_exec_t,s0) /usr/lib/xorg-server/Xorg -- gen_context(system_u:object_r:xserver_exec_t,s0) /usr/lib/xorg-server/Xorg\.wrap -- gen_context(system_u:object_r:xserver_exec_t,s0)