From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 23 Apr 2021 12:55:27 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lZtT5-0005g2-PF for lore@lore.pengutronix.de; Fri, 23 Apr 2021 12:55:27 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lZtT5-0001rA-5i; Fri, 23 Apr 2021 12:55:27 +0200 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZtT3-0001qd-LL; Fri, 23 Apr 2021 12:55:25 +0200 Received: from rsc by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1lZtT3-0005Bk-CM; Fri, 23 Apr 2021 12:55:25 +0200 Date: Fri, 23 Apr 2021 12:55:25 +0200 From: Robert Schwebel To: Roland Hieber Message-ID: <20210423105525.tzmcflu4c2hspzr4@pengutronix.de> References: <20210409230252.28738-1-rhi@pengutronix.de> <20210409230252.28738-2-rhi@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210409230252.28738-2-rhi@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 12:55:07 up 142 days, 1:01, 50 users, load average: 0,00, 0,02, 0,00 User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [DistroKit] [PATCH 2/3] mips: kernel: properly handle signed modules X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: distrokit@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Sat, Apr 10, 2021 at 01:02:51AM +0200, Roland Hieber wrote: > This ports the following commits from PTXdist 2021.04.0: > > | commit a22b449946eed634f42b06b0c385b29621c6d02e > | Author: Michael Olbrich > | Date: 2021-04-01 15:58:54 > | > | template: kernel: proper handle signed modules > | > | Same as 565aabf6f36d3ed31544d882394604c4a1b13597 but for the kernel > | template instead of the kernel itself. > | > | Signed-off-by: Michael Olbrich > | > | commit 565aabf6f36d3ed31544d882394604c4a1b13597 > | Author: Denis Osterland-Heim > | Date: 2021-03-31 13:35:25 > | > | kernel: proper handle signed modules > | > | If CONFIG_MODULE_SIG_ALL is set in kernelconfig then modules will be > | automatically signed during the modules_install phase of a kernel build. > | > | Signed modules are BRITTLE as the signature is outside of the defined ELF > | container. Thus they MAY NOT be stripped once the signature is computed > | and attached. Note the entire module is the signed payload, including any > | and all debug information present at the time of signing. > | > | See: https://www.kernel.org/doc/html/latest/admin-guide/module-signing.html > | Signed-off-by: Denis Osterland-Heim > | Message-Id: <20210331113525.22330-1-denis.osterland@diehl.com> > | Signed-off-by: Michael Olbrich > > We might not sign kernel modules at the time, but apply the principle of > least surprise and port it now to be up to date with the upstream > kernel rule template. > > Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=a22b449946eed634f42b > Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=565aabf6f36d3ed31544 > Signed-off-by: Roland Hieber > --- > configs/platform-mips/rules/kernel-ar9331.make | 2 +- > configs/platform-mips/rules/kernel-malta.make | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to next. rsc -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de