Mike Rapoport (IBM)
a48aa33eaa
restorer: shstk: implement shadow stack restore
...
The restore of a task with shadow stack enabled adds these steps:
* switch from the default shadow stack to a temporary shadow stack
allocated in the premmaped area
* unmap CRIU mappings; nothing changed here, but it's important that
CRIU mappings can be removed only after switching to a temporary
shadow stack
* create shadow stack VMA with map_shadow_stack()
* restore shadow stack contents with wrss
* switch to "real" shadow stack
* lock shadow stack features
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org >
2024-09-11 16:02:11 -07:00
..
2024-09-11 16:02:11 -07:00
2024-09-11 16:02:11 -07:00
2024-09-11 16:02:11 -07:00
2022-06-22 10:20:33 -07:00
2023-10-22 13:29:25 -07:00
2021-09-03 10:31:00 -07:00
2023-10-22 13:29:25 -07:00
2023-04-15 21:17:21 -07:00
2021-09-03 10:31:00 -07:00
2021-09-03 10:31:00 -07:00
2022-04-28 17:53:52 -07:00
2023-04-15 21:17:21 -07:00
2024-09-11 16:02:11 -07:00
2021-09-03 10:31:00 -07:00
2023-10-22 13:29:25 -07:00
2024-09-11 16:02:11 -07:00
2021-09-03 10:31:00 -07:00
2023-10-22 13:29:25 -07:00
2016-02-15 15:32:45 +03:00
2024-09-11 16:02:11 -07:00
2023-10-22 13:29:25 -07:00
2023-04-15 21:17:21 -07:00
2021-09-03 10:31:00 -07:00
2022-04-28 17:53:52 -07:00
2021-09-03 10:31:00 -07:00
2020-10-20 00:18:24 -07:00
2023-04-15 21:17:21 -07:00
2021-09-03 10:31:00 -07:00
2022-04-28 17:53:52 -07:00
2021-09-03 10:31:00 -07:00
2021-09-03 10:31:00 -07:00
2023-10-22 13:29:25 -07:00
2023-04-15 21:17:21 -07:00
2023-04-15 21:17:21 -07:00
2023-04-15 21:17:21 -07:00
2023-04-15 21:17:21 -07:00
2021-09-03 10:31:00 -07:00
2023-04-15 21:17:21 -07:00
2023-10-22 13:29:25 -07:00
2023-04-15 21:17:21 -07:00
2024-09-11 16:02:11 -07:00
2021-09-03 10:31:00 -07:00
2024-09-11 16:02:11 -07:00
2023-10-22 13:29:25 -07:00
2023-04-15 21:17:21 -07:00
2021-09-03 10:31:00 -07:00
2023-10-22 13:29:25 -07:00
2023-04-15 21:17:21 -07:00
2023-10-22 13:29:25 -07:00
2024-09-11 16:02:11 -07:00
2023-10-22 13:29:25 -07:00
2022-06-22 10:20:33 -07:00
2023-10-22 13:29:25 -07:00
2023-10-22 13:29:25 -07:00
2024-09-11 16:02:11 -07:00
2023-10-22 13:29:25 -07:00
2023-10-22 13:29:25 -07:00
2023-10-22 13:29:25 -07:00
2024-09-11 16:02:11 -07:00
2022-04-28 17:53:52 -07:00
2023-10-22 13:29:25 -07:00
2022-04-28 17:53:52 -07:00
2023-04-15 21:17:21 -07:00
2017-03-15 00:09:52 +03:00
2016-02-15 15:32:45 +03:00
2016-02-15 15:32:45 +03:00
2023-10-22 13:29:25 -07:00
2022-04-28 17:53:52 -07:00
2024-09-11 16:02:11 -07:00
2021-09-03 10:31:00 -07:00
2021-09-03 10:31:00 -07:00
2023-04-15 21:17:21 -07:00
2021-09-03 10:31:00 -07:00
2021-09-03 10:31:00 -07:00
2021-09-03 10:31:00 -07:00
2023-04-15 21:17:21 -07:00
2021-09-03 10:31:00 -07:00
2023-04-15 21:17:21 -07:00
2024-09-11 16:02:11 -07:00
2021-09-03 10:31:00 -07:00
2021-09-03 10:31:00 -07:00
2024-09-11 16:02:11 -07:00
2023-04-15 21:17:21 -07:00
2021-09-03 10:31:00 -07:00
2021-09-03 10:31:00 -07:00
2023-10-22 13:29:25 -07:00
2023-10-22 13:29:25 -07:00
2023-10-22 13:29:25 -07:00
2021-09-03 10:31:00 -07:00
2023-04-15 21:17:21 -07:00
2023-04-15 21:17:21 -07:00
2021-09-03 10:31:00 -07:00
2023-04-15 21:17:21 -07:00
2021-09-03 10:31:00 -07:00
2022-04-28 17:53:52 -07:00
2024-09-11 16:02:11 -07:00
2023-10-22 13:29:25 -07:00
2022-04-28 17:53:52 -07:00
2023-10-22 13:29:25 -07:00
2016-10-24 16:00:16 +03:00
2021-09-03 10:31:00 -07:00
2023-04-15 21:17:21 -07:00