Jisheng Zhang
0ffe1ae702
riscv: mm: implement pgprot_nx
...
commit cca98e9f8b5e ("mm: enforce that vmap can't map pages
executable") enforces the W^X protection by not allowing remapping
existing pages as executable. Add riscv bits so that riscv can benefit
the same protection.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Tested-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20231121160637.3856-1-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2024-03-27 07:09:06 -07:00
..
2023-10-31 19:15:54 -07:00
2023-06-01 08:45:01 -07:00
2023-10-26 09:40:33 -07:00
2023-08-02 13:49:07 -07:00
2023-09-08 11:24:34 -07:00
2024-02-09 15:57:48 -08:00
2024-01-17 18:20:49 -08:00
2024-01-09 20:18:20 -08:00
2024-01-16 07:14:02 -08:00
2024-01-24 15:59:42 -08:00
2023-04-29 11:25:13 -07:00
2024-03-19 18:52:24 -07:00
2024-03-19 18:52:25 -07:00
2024-03-22 10:41:13 -07:00
2022-05-19 23:46:10 +02:00
2023-08-23 14:22:00 -07:00
2023-12-14 00:23:17 -08:00
2024-03-06 15:18:16 -08:00
2024-02-09 15:57:48 -08:00
2024-03-19 18:52:24 -07:00
2024-03-19 16:39:40 -07:00
2022-08-11 13:46:51 -07:00
2024-01-04 15:03:07 -08:00
2023-06-01 08:45:01 -07:00
2024-03-22 10:41:13 -07:00
2022-03-10 09:29:21 -08:00
2024-02-23 17:48:21 -08:00
2024-02-29 10:20:16 -08:00
2022-03-30 15:15:27 -07:00
2023-09-01 09:08:57 -07:00
2023-09-08 11:25:13 -07:00
2024-03-19 16:39:40 -07:00
2024-01-16 07:13:59 -08:00
2024-03-12 07:13:16 -07:00
2023-06-14 07:17:45 -07:00
2024-03-19 18:52:24 -07:00
2023-04-13 18:14:26 -07:00
2024-03-14 18:03:09 -07:00
2022-01-05 17:53:29 -08:00
2022-10-02 10:17:58 +05:30
2024-02-22 12:28:25 -08:00
2024-03-22 10:41:13 -07:00
2024-01-03 03:36:49 -08:00
2023-11-05 09:11:23 -08:00
2023-09-01 08:09:48 -07:00
2024-03-19 18:52:24 -07:00
2023-10-27 14:43:06 -07:00
2023-11-23 11:32:29 +01:00
2023-06-09 17:44:16 -07:00
2024-02-09 15:57:48 -08:00
2022-01-19 17:54:09 -08:00
2022-05-11 11:50:10 -07:00
2022-12-05 10:59:51 -08:00
2023-12-20 10:48:15 -08:00
2023-09-20 06:45:27 -07:00
2023-06-18 21:24:36 +05:30
2023-06-18 21:24:34 +05:30
2023-06-19 22:27:58 +05:30
2024-01-02 13:19:40 -05:00
2022-01-06 14:38:50 +05:30
2022-07-29 17:14:11 +05:30
2022-07-29 17:14:53 +05:30
2023-02-07 20:36:06 +05:30
2023-12-30 11:26:35 +05:30
2022-10-21 11:52:45 +05:30
2023-08-08 17:26:05 +05:30
2024-02-15 08:04:14 -08:00
2024-03-19 18:52:24 -07:00
2024-03-19 18:52:24 -07:00
2021-06-30 20:55:39 -07:00
2023-08-23 14:17:43 -07:00
2021-01-14 15:08:58 -08:00
2023-01-31 23:29:39 -08:00
2022-03-29 14:31:07 -07:00
2021-01-14 15:08:58 -08:00
2024-03-06 19:29:09 +01:00
2023-12-30 11:25:03 +05:30
2023-12-30 11:25:03 +05:30
2023-09-06 06:26:06 -07:00
2022-08-06 15:04:48 -07:00
2023-06-01 10:09:22 -07:00
2024-01-24 15:55:55 -08:00
2023-10-31 19:15:50 -07:00
2024-03-14 17:43:30 -07:00
2023-11-05 09:41:53 -08:00
2024-03-27 07:09:06 -07:00
2021-01-14 15:09:06 -08:00
2024-03-20 08:56:05 -07:00
2023-03-23 08:47:00 -07:00
2024-01-20 11:06:04 -08:00
2023-10-27 14:43:09 -07:00
2020-11-20 11:16:35 -08:00
2024-01-09 10:58:59 -08:00
2023-01-19 14:58:19 +01:00
2023-04-19 07:46:28 -07:00
2022-05-17 16:37:21 -07:00
2023-01-24 22:13:15 -08:00
2024-03-15 10:17:38 -07:00
2023-05-15 13:44:59 +02:00
2021-01-07 19:00:50 -08:00
2022-01-19 17:54:07 -08:00
2022-11-18 02:18:10 +01:00
2024-02-07 09:55:27 -08:00
2023-01-31 11:43:23 -08:00
2024-03-22 10:41:13 -07:00
2024-01-16 07:13:58 -08:00
2024-02-15 08:04:14 -08:00
2024-03-26 14:11:03 -07:00
2023-08-23 14:16:36 -07:00
2024-01-16 07:14:04 -08:00
2023-06-09 17:44:16 -07:00
2024-03-22 10:41:13 -07:00
2024-01-11 08:01:53 -08:00
2024-01-31 12:37:26 -08:00
2023-12-23 15:52:34 +01:00
2024-03-26 08:34:48 -07:00
2022-06-01 21:46:36 -07:00
2023-09-20 06:45:27 -07:00
2023-01-31 23:29:42 -08:00
2024-01-22 17:55:15 -08:00
2024-03-12 07:13:12 -07:00
2024-02-29 10:21:22 -08:00
2024-02-01 09:47:59 -08:00
2024-01-09 19:33:21 -08:00
2024-01-16 07:13:55 -08:00