diff options
author | Dave Martin <Dave.Martin@arm.com> | 2025-07-01 14:55:59 +0100 |
---|---|---|
committer | Kees Cook <kees@kernel.org> | 2025-07-14 22:27:47 -0700 |
commit | 87b0d081dc981191c82780eb482e9d04c5837a6d (patch) | |
tree | 01353c25fd0fe68d4d43e9a5e100dc6d77d156b1 /scripts/lib/kdoc/kdoc_files.py | |
parent | 49b849d11cd1f89d923e4bcb42500328f5b36b95 (diff) |
arm64: 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.
This does not affect the correctness of switch(note_type) and similar
code, since note type values known to Linux for coredump purposes were
already required to be unique.
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Kees Cook <kees@kernel.org>
Cc: Akihiko Odaki <akihiko.odaki@daynix.com>
Cc: linux-arm-kernel@lists.infradead.org
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Link: https://lore.kernel.org/r/20250701135616.29630-7-Dave.Martin@arm.com
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions