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 DE74A1381F3 for ; Fri, 27 Sep 2013 13:27:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3861E0F1F; Fri, 27 Sep 2013 13:27:32 +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 43835E0F1C for ; Fri, 27 Sep 2013 13:27:31 +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 5183633EE58 for ; Fri, 27 Sep 2013 13:27:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1A640E546E for ; Fri, 27 Sep 2013 13:27:28 +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: <1380288212.1eb5b981533b6974ce7b7e7c603f5d7a8e258f21.swift@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: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 1eb5b981533b6974ce7b7e7c603f5d7a8e258f21 X-VCS-Branch: master Date: Fri, 27 Sep 2013 13:27:28 +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: 4bb940c3-18de-4805-b656-86ef3cbcd08e X-Archives-Hash: d1879445e3efdc43104d3bd5fb9bbb78 commit: 1eb5b981533b6974ce7b7e7c603f5d7a8e258f21 Author: Sven Vermeulen siphos be> AuthorDate: Wed Sep 25 18:26:31 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Sep 27 13:23:32 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=1eb5b981 Extend slim /var/run expression On Gentoo, slim files are not in /var/run/slim, but directly in /var/run. All names start with slim though, so changing the expression to match those as well. There is already a file transition in place (xdm_t writing files in var_run_t -> xdm_var_run_t) so that needs no further changes. Reported-by: Luis Ressel aixah.de> Signed-off-by: Sven Vermeulen siphos.be> --- policy/modules/services/xserver.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/services/xserver.fc b/policy/modules/services/xserver.fc index ad8b197..8cd4625 100644 --- a/policy/modules/services/xserver.fc +++ b/policy/modules/services/xserver.fc @@ -108,7 +108,7 @@ ifndef(`distro_debian',` /var/run/lxdm\.auth -- gen_context(system_u:object_r:xdm_var_run_t,s0) /var/run/lxdm\.pid -- gen_context(system_u:object_r:xdm_var_run_t,s0) /var/run/lxdm(/.*)? gen_context(system_u:object_r:xdm_var_run_t,s0) -/var/run/slim(/.*)? gen_context(system_u:object_r:xdm_var_run_t,s0) +/var/run/slim.* gen_context(system_u:object_r:xdm_var_run_t,s0) /var/run/xauth(/.*)? gen_context(system_u:object_r:xdm_var_run_t,s0) /var/run/xdmctl(/.*)? gen_context(system_u:object_r:xdm_var_run_t,s0)