Re: [PATCH v1 04/10] asm-generic: Use HAVE_DEREFERENCE_FUNCTION_DESCRIPTOR to define associated stubs
From: Christophe Leroy <hidden>
Date: 2021-10-14 07:20:39
Also in:
linux-mm, linuxppc-dev, lkml
From: Christophe Leroy <hidden>
Date: 2021-10-14 07:20:39
Also in:
linux-mm, linuxppc-dev, lkml
Le 13/10/2021 à 09:00, Kees Cook a écrit :
On Mon, Oct 11, 2021 at 05:25:31PM +0200, Christophe Leroy wrote:quoted
Use HAVE_DEREFERENCE_FUNCTION_DESCRIPTOR instead of 'dereference_function_descriptor' to know whether arch has function descriptors. Signed-off-by: Christophe Leroy <redacted>I'd mention the intentionally-empty #if/#else in the commit log, as I, like Helge, mentally tripped over it in the review. :) Reviewed-by: Kees Cook <redacted>
Ok, I did it in v2. I also renamed it HAVE_FUNCTION_DESCRIPTORS because behind the fact that it has some functions to dereference function descriptor, the main fact is that they have and use function descriptors. Christophe