]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARC: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
authorDave Martin <Dave.Martin@arm.com>
Tue, 1 Jul 2025 13:55:57 +0000 (14:55 +0100)
committerKees Cook <kees@kernel.org>
Tue, 15 Jul 2025 05:27:46 +0000 (22:27 -0700)
commit237dc8d7962727c1d532238236e3815ecb6e6c9e
tree461560e2a0c6bb91d721879c04931d11a2e2adaf
parent9674a1be4dd57579cee2aecfa1480e7790105078
ARC: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names

Instead of having the core code guess the note name for each regset,
use USER_REGSET_NOTE_TYPE() to pick the correct name from elf.h.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Cc: Vineet Gupta <vgupta@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Kees Cook <kees@kernel.org>
Cc: Akihiko Odaki <akihiko.odaki@daynix.com>
Cc: linux-snps-arc@lists.infradead.org
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Link: https://lore.kernel.org/r/20250701135616.29630-5-Dave.Martin@arm.com
Signed-off-by: Kees Cook <kees@kernel.org>
arch/arc/kernel/ptrace.c