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 216A3139694 for ; Sun, 7 May 2017 16:09:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C97421C06C; Sun, 7 May 2017 16:09:13 +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 E1905E0CCE for ; Sun, 7 May 2017 16:09:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 185613416DA for ; Sun, 7 May 2017 16:09:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 289E47454 for ; Sun, 7 May 2017 16:09:04 +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: <1494172482.d4c00f71309403b77db1cdf60a1da0de877d7b30.perfinion@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/loadkeys.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: d4c00f71309403b77db1cdf60a1da0de877d7b30 X-VCS-Branch: master Date: Sun, 7 May 2017 16:09:04 +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: 0204b166-8662-48e9-a9ef-4614e0860b70 X-Archives-Hash: 2d891dd2deea2ff2eecc9246d7100a6d commit: d4c00f71309403b77db1cdf60a1da0de877d7b30 Author: Guido Trentalancia trentalancia net> AuthorDate: Sat Apr 29 18:17:53 2017 +0000 Commit: Jason Zaman 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) 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 54D33139694 for ; Sun, 7 May 2017 17:47:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89686E0CE1; Sun, 7 May 2017 17:47:14 +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 64607E0CE1 for ; Sun, 7 May 2017 17:47:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 8FD04341692 for ; Sun, 7 May 2017 17:47:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B1EA7434 for ; Sun, 7 May 2017 17:47:12 +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: <1494172482.d4c00f71309403b77db1cdf60a1da0de877d7b30.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/loadkeys.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: d4c00f71309403b77db1cdf60a1da0de877d7b30 X-VCS-Branch: next Date: Sun, 7 May 2017 17:47:12 +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: bcdbf86a-af6e-4ef5-a497-934118578ff8 X-Archives-Hash: b27faaad832b5ec89203eb196a101c12 Message-ID: <20170507174712.132K8dXdQU3zVaGF0ANX06W28sPYGig7Q3iWZZqDUzY@z> commit: d4c00f71309403b77db1cdf60a1da0de877d7b30 Author: Guido Trentalancia trentalancia net> AuthorDate: Sat Apr 29 18:17:53 2017 +0000 Commit: Jason Zaman 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)