[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y2MEdgcrkR79yWqs@bombadil.infradead.org>
Date: Wed, 2 Nov 2022 16:59:50 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: Nicholas Piggin <npiggin@...il.com>
Cc: linux-modules@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org,
Michael Ellerman <mpe@...erman.id.au>,
Jessica Yu <jeyu@...nel.org>
Subject: Re: [PATCH v5 1/2] module: add module_elf_check_arch for
module-specific checks
On Mon, Oct 31, 2022 at 10:07:32PM +1000, Nicholas Piggin wrote:
> The elf_check_arch() function is also used to test compatibility of
> usermode binaries. Kernel modules may have more specific requirements,
> for example powerpc would like to test for ABI version compatibility.
>
> Add a weak module_elf_check_arch() that defaults to true, and call it
> from elf_validity_check().
>
> Cc: Michael Ellerman <mpe@...erman.id.au>
> Signed-off-by: Jessica Yu <jeyu@...nel.org>
> [np: added changelog, adjust name, rebase]
> Signed-off-by: Nicholas Piggin <npiggin@...il.com>
Acked-by: Luis Chamberlain <mcgrof@...nel.org>
Luis
Powered by blists - more mailing lists