Files
rockchip-kernel/include/uapi/linux
Catalin Marinas c35fe2a68f elf: Fix the arm64 MTE ELF segment name and value
Unfortunately, the name/value choice for the MTE ELF segment type
(PT_ARM_MEMTAG_MTE) was pretty poor: LOPROC+1 is already in use by
PT_AARCH64_UNWIND, as defined in the AArch64 ELF ABI
(https://github.com/ARM-software/abi-aa/blob/main/aaelf64/aaelf64.rst).

Update the ELF segment type value to LOPROC+2 and also change the define
to PT_AARCH64_MEMTAG_MTE to match the AArch64 ELF ABI namespace. The
AArch64 ELF ABI document is updating accordingly (segment type not
previously mentioned in the document).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Fixes: 761b9b366c ("elf: Introduce the ARM MTE ELF segment type")
Cc: Will Deacon <will@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Luis Machado <luis.machado@arm.com>
Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>
Link: https://lore.kernel.org/r/20220425151833.2603830-1-catalin.marinas@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
2022-04-28 11:37:06 +01:00
..
2022-02-21 19:33:05 +00:00
2021-01-25 18:44:44 +01:00
2020-12-28 14:21:31 +00:00
2021-11-01 13:36:08 +00:00
2020-08-12 10:58:00 -07:00
2020-10-09 12:47:02 -06:00
2021-11-26 16:48:59 +01:00
2020-07-19 19:20:22 -07:00
2020-06-24 21:34:11 +02:00
2021-10-07 13:51:11 +02:00
2021-02-08 13:01:24 +01:00
2022-03-11 08:28:05 -08:00
2021-11-15 07:53:10 -08:00
2021-06-03 15:31:34 -07:00
2022-03-01 18:29:27 -08:00
2020-07-13 15:32:56 -07:00
2021-02-26 09:41:03 -08:00
2022-03-24 06:53:18 -06:00
2021-03-10 09:34:06 +01:00
2020-08-18 15:44:44 +02:00
2022-03-08 22:06:11 -08:00
2021-10-14 23:06:28 +02:00
2021-07-06 10:37:46 -05:00
2022-03-18 13:09:17 +02:00
2021-03-10 09:34:06 +01:00
2021-01-07 16:17:32 +01:00
2021-09-16 14:36:26 +01:00
2020-10-23 11:55:28 -04:00
2021-06-12 13:16:45 -07:00
2020-07-13 15:32:56 -07:00