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 B7B7A139694 for ; Thu, 18 May 2017 16:55:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 185EDE0EBE; Thu, 18 May 2017 16:55:05 +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 EB9D6E0EBE for ; Thu, 18 May 2017 16:54:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 243C0341693 for ; Thu, 18 May 2017 16:54:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C43D746A for ; Thu, 18 May 2017 16:54: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: <1494172482.d4c00f71309403b77db1cdf60a1da0de877d7b30.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/loadkeys.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: d4c00f71309403b77db1cdf60a1da0de877d7b30 X-VCS-Branch: swift Date: Thu, 18 May 2017 16:54: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: a7c4249d-5317-4379-89c4-33a1d31936ac X-Archives-Hash: 62c501cfaac81a47f45df4f18dd0a811 commit: d4c00f71309403b77db1cdf60a1da0de877d7b30 Author: Guido Trentalancia trentalancia net> AuthorDate: Sat Apr 29 18:17:53 2017 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun May 7 15:54:42 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d4c00f71 loadkeys: use init fds (system bootup) Update the loadkeys module so that it can use init file descriptors (to print out messages during boot). Signed-off-by: Guido Trentalancia trentalancia.net> policy/modules/contrib/loadkeys.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/contrib/loadkeys.te b/policy/modules/contrib/loadkeys.te index d99a28bf..dcde3ffe 100644 --- a/policy/modules/contrib/loadkeys.te +++ b/policy/modules/contrib/loadkeys.te @@ -23,6 +23,8 @@ allow loadkeys_t self:unix_stream_socket { connect create }; kernel_read_system_state(loadkeys_t) +init_use_fds(loadkeys_t) + corecmd_exec_bin(loadkeys_t) corecmd_exec_shell(loadkeys_t)