Thread (33 messages) 33 messages, 6 authors, 2022-02-14

Re: [PATCH v3 01/12] powerpc: Move and rename func_descr_t

From: Kees Cook <hidden>
Date: 2022-02-11 00:52:08
Also in: linux-arch, linux-mm, lkml

On Sun, Oct 17, 2021 at 02:38:14PM +0200, Christophe Leroy wrote:
There are three architectures with function descriptors, try to
have common names for the address they contain in order to
refactor some functions into generic functions later.

powerpc has 'entry'
ia64 has 'ip'
parisc has 'addr'

Vote for 'addr' and update 'func_descr_t' accordingly.

Move it in asm/elf.h to have it at the same place on all
three architectures, remove the typedef which hides its real
type, and change it to a smoother name 'struct func_desc'.

Signed-off-by: Christophe Leroy <redacted>
I like the name. :)

Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help