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 AC5F9139694 for ; Fri, 17 Feb 2017 08:51:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE7B921C095; Fri, 17 Feb 2017 08:51:03 +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 CBD0721C095 for ; Fri, 17 Feb 2017 08:50:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 0ADCC340EDA for ; Fri, 17 Feb 2017 08:50:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52AB34ACE for ; Fri, 17 Feb 2017 08:50:55 +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: <1487320729.8ce244028e264e2e86a988345f6dc04ddc164db4.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/cups.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 8ce244028e264e2e86a988345f6dc04ddc164db4 X-VCS-Branch: next Date: Fri, 17 Feb 2017 08:50:55 +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: b833968d-7b6c-49e6-b0be-d0befd7459fe X-Archives-Hash: 174b2212b719731e4d56e5f245a5b3e1 Message-ID: <20170217085055.IWzapMv6w3uPMgO33ACd3HkstfvpD-J6td7fR2ElTa8@z> commit: 8ce244028e264e2e86a988345f6dc04ddc164db4 Author: Guido Trentalancia trentalancia net> AuthorDate: Thu Feb 9 16:25:15 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Fri Feb 17 08:38:49 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=8ce24402 cups: read permission for cupsd_var_run_t socket files in cups_stream_connect() Modify the cups_stream_connect() interface so that it can also read cupsd_var_run_t socket files in addition to writing them. Signed-off-by: Guido Trentalancia trentalancia.net> policy/modules/contrib/cups.if | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/cups.if b/policy/modules/contrib/cups.if index 6a2633cb..bd6b77f4 100644 --- a/policy/modules/contrib/cups.if +++ b/policy/modules/contrib/cups.if @@ -69,6 +69,7 @@ interface(`cups_stream_connect',` ') files_search_pids($1) + allow $1 cupsd_var_run_t:sock_file read_sock_file_perms; stream_connect_pattern($1, cupsd_var_run_t, cupsd_var_run_t, cupsd_t) ')