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 53E02138BF3 for ; Mon, 17 Feb 2014 19:56:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 320BDE0AE4; Mon, 17 Feb 2014 19:55:59 +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 B05CAE0ADC for ; Mon, 17 Feb 2014 19:55:58 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3F3D33EE68 for ; Mon, 17 Feb 2014 19:55:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 5F8A81872B for ; Mon, 17 Feb 2014 19:55:56 +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: <1392666318.69c810d8042573cb1a1771d7191a5e7685a8e388.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/pcscd.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 69c810d8042573cb1a1771d7191a5e7685a8e388 X-VCS-Branch: master Date: Mon, 17 Feb 2014 19:55:56 +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: 778bcc8a-2edf-496f-96c0-b176e93cc45e X-Archives-Hash: d1e08612b00cf48d842ceeded7fc54df commit: 69c810d8042573cb1a1771d7191a5e7685a8e388 Author: Luis Ressel aixah de> AuthorDate: Fri Feb 14 19:35:48 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Feb 17 19:45:18 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=69c810d8 pcscd.if: Permit access to pid files inside /var/run/pcscd/. Gentoo places pcscd's pid file in /var/run/pcscd/ instead of /var/run/, but pcscd_read_pid_files() doesn't grant enough permissions for this. --- policy/modules/contrib/pcscd.if | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/contrib/pcscd.if b/policy/modules/contrib/pcscd.if index 43d50f9..7f77d32 100644 --- a/policy/modules/contrib/pcscd.if +++ b/policy/modules/contrib/pcscd.if @@ -50,7 +50,7 @@ interface(`pcscd_read_pid_files',` ') files_search_pids($1) - allow $1 pcscd_var_run_t:file read_file_perms; + read_files_pattern($1, pcscd_var_run_t, pcscd_var_run_t) ') ########################################