Ard Biesheuvel
6ee3cf6a20
arm64: lds: move special code sections out of kernel exec segment
...
There are a few code sections that are emitted into the kernel's
executable .text segment simply because they contain code, but are
actually never executed via this mapping, so they can happily live in a
region that gets mapped without executable permissions, reducing the
risk of being gadgetized.
Note that the kexec and hibernate region contents are always copied into
a fresh page, and so there is no need to align them as long as the
overall size of each is below 4 KiB.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20220429131347.3621090-2-ardb@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2022-05-17 09:32:38 +01:00
..
2021-10-22 12:16:53 -04:00
2022-01-24 12:08:28 +00:00
2022-03-13 17:31:37 +09:00
2020-03-25 11:50:48 +01:00
2021-01-14 15:08:54 -08:00
2021-04-08 16:04:22 -07:00
2021-12-06 16:12:53 +00:00
2022-04-06 11:23:48 +01:00
2021-10-21 10:45:22 +01:00
2021-12-08 14:54:07 +00:00
2021-09-01 10:29:10 +02:00
2022-05-11 13:40:26 +01:00
2020-03-24 17:24:19 +00:00
2021-10-01 13:31:00 +01:00
2022-03-14 19:08:31 +00:00
2022-03-03 20:20:06 +01:00
2022-02-25 14:41:05 +00:00
2022-03-07 21:25:47 +00:00
2021-03-22 12:46:38 +00:00
2020-11-23 18:17:39 +00:00
2021-05-25 19:27:49 +01:00
2020-11-17 16:14:20 +00:00
2020-05-28 18:03:40 +01:00
2021-08-04 16:54:36 +00:00
2022-04-04 09:59:27 +01:00
2022-03-22 14:39:12 -07:00
2021-10-21 10:18:17 +01:00
2021-12-14 18:12:58 +00:00
2022-03-14 19:08:31 +00:00
2022-02-08 14:43:22 +00:00
2021-11-16 09:47:54 +00:00
2021-09-30 16:13:10 +02:00
2021-10-01 13:31:00 +01:00
2022-01-05 11:51:01 +00:00
2022-04-04 10:32:50 +01:00
2021-04-13 15:42:40 +01:00
2021-06-24 14:01:55 +01:00
2022-02-25 13:38:52 +00:00
2022-03-24 11:58:57 -07:00
2020-09-07 15:00:52 +01:00
2019-06-19 17:09:07 +02:00
2021-03-24 20:19:30 +00:00
2021-06-11 11:19:27 +01:00
2021-08-03 10:36:42 +01:00
2020-11-10 13:11:44 +00:00
2021-06-11 11:19:27 +01:00
2019-07-15 09:20:24 -03:00
2021-12-16 17:44:58 +00:00
Merge branches 'for-next/misc', 'for-next/cache-ops-dzp', 'for-next/stacktrace', 'for-next/xor-neon', 'for-next/kasan', 'for-next/armv8_7-fp', 'for-next/atomics', 'for-next/bti', 'for-next/sve', 'for-next/kselftest' and 'for-next/kcsan', remote-tracking branch 'arm64/for-next/perf' into for-next/core
2022-01-05 18:14:32 +00:00
2022-02-15 22:53:29 +00:00
2022-04-04 10:32:50 +01:00
2022-03-24 19:06:48 -07:00
2022-03-09 18:14:56 +00:00
2021-03-11 16:17:52 +01:00
2022-04-08 11:43:46 +01:00
2021-08-23 10:59:26 +01:00
2022-01-12 16:26:58 -08:00
2022-03-08 11:40:44 +00:00
2020-11-09 18:12:34 +01:00
2021-07-28 18:33:49 +01:00
2022-03-09 18:14:56 +00:00
2022-04-08 11:46:46 +01:00
2021-04-08 16:04:22 -07:00
2022-03-10 13:35:08 -06:00
2019-06-19 17:09:55 +02:00
2020-05-04 12:46:03 +01:00
2021-10-01 13:31:00 +01:00
2021-12-10 14:06:04 +00:00
2021-10-01 13:30:59 +01:00
2022-03-22 15:57:10 -07:00
2021-09-01 15:04:29 -07:00
2022-03-28 17:29:53 -07:00
2019-04-23 18:01:57 +01:00
2021-04-16 16:10:36 -07:00
2021-07-21 11:23:25 +01:00
2021-05-25 19:27:49 +01:00
2022-04-04 10:24:22 +01:00
2022-01-24 14:25:20 +00:00
2022-04-04 10:32:50 +01:00
2019-06-19 17:09:08 +02:00
2022-03-08 10:23:42 +00:00
2019-06-19 17:09:07 +02:00
2021-12-01 00:06:44 +01:00
2021-12-10 14:06:04 +00:00
2021-10-15 11:25:15 +02:00
2017-11-02 11:10:55 +01:00
2022-03-23 18:03:08 -07:00
2021-01-20 12:18:46 +00:00
2021-01-20 12:18:46 +00:00
2021-04-15 14:00:38 +01:00
2022-05-17 09:32:38 +01:00