Andreas Kling
794758df3a
Kernel: Implement some basic stack pointer validation
...
VM regions can now be marked as stack regions, which is then validated
on syscall, and on page fault.
If a thread is caught with its stack pointer pointing into anything
that's *not* a Region with its stack bit set, we'll crash the whole
process with SIGSTKFLT.
Userspace must now allocate custom stacks by using mmap() with the new
MAP_STACK flag. This mechanism was first introduced in OpenBSD, and now
we have it too, yay! :^)
2019-11-17 12:15:43 +01:00
..
2019-06-22 15:47:08 +02:00
2019-09-06 15:36:54 +02:00
2019-10-19 20:05:13 +02:00
2019-09-22 00:25:25 +02:00
2019-04-15 13:57:09 +02:00
2019-11-03 00:09:17 +01:00
2019-07-13 19:36:02 +02:00
2019-09-06 15:36:54 +02:00
2019-06-07 11:49:31 +02:00
2019-09-23 09:36:25 +02:00
2019-11-02 23:47:22 +01:00
2019-11-17 12:15:43 +01:00
2019-09-06 15:36:54 +02:00
2019-06-07 11:49:31 +02:00
2019-09-21 20:50:06 +02:00
2019-11-05 19:37:23 +01:00
2019-09-21 20:50:06 +02:00
2019-04-25 04:42:09 +02:00
2019-06-07 11:49:31 +02:00
2018-11-09 14:29:00 +01:00
2019-06-07 11:49:31 +02:00
2019-06-22 15:47:08 +02:00
2019-06-07 11:49:31 +02:00
2019-06-07 11:49:31 +02:00
2019-11-06 20:52:18 +01:00
2019-06-30 07:36:14 +02:00
2019-09-23 19:06:53 +02:00
2019-09-21 20:50:06 +02:00
2019-09-06 15:36:54 +02:00
2019-09-06 15:36:54 +02:00
2019-06-22 15:47:08 +02:00
2019-10-19 20:54:47 +02:00
2019-09-21 20:50:06 +02:00
2019-11-14 20:58:23 +01:00
2019-09-28 18:29:42 +02:00
2019-09-28 18:29:42 +02:00
2019-06-07 11:49:31 +02:00
2019-06-07 11:49:31 +02:00
2019-07-22 20:01:11 +02:00
2019-08-01 11:39:41 +02:00
2019-09-21 20:50:06 +02:00
2019-09-06 15:36:54 +02:00
2019-08-10 08:51:20 +02:00
2019-11-04 12:44:32 +01:00
2019-09-06 15:36:54 +02:00
2019-09-23 09:36:25 +02:00
2019-09-06 15:36:54 +02:00
2019-06-07 11:49:31 +02:00
2019-07-18 07:23:26 +02:00
2019-08-25 19:47:37 +02:00
2019-07-19 09:58:12 +02:00
2019-09-06 15:36:54 +02:00
2019-06-07 11:49:31 +02:00
2019-09-21 15:25:08 +02:00
2019-07-19 13:08:26 +02:00
2019-09-06 15:36:54 +02:00
2019-09-06 15:36:54 +02:00
2019-06-07 11:49:31 +02:00
2019-07-03 21:20:13 +02:00
2019-06-07 11:49:31 +02:00
2018-12-20 00:39:29 +01:00
2019-11-04 12:47:54 +01:00
2019-09-30 08:57:01 +02:00
2019-09-30 08:57:01 +02:00
2019-06-07 11:49:31 +02:00
2019-09-06 15:36:54 +02:00
2019-06-07 11:49:31 +02:00
2019-09-06 15:36:54 +02:00
2018-11-09 14:29:00 +01:00
2019-08-05 08:36:28 +02:00
2019-11-16 12:23:36 +01:00
2018-11-09 10:19:33 +01:00
2019-08-17 09:29:54 +02:00
2019-06-07 11:49:31 +02:00
2019-06-07 11:49:31 +02:00
2019-11-04 12:42:30 +01:00
2019-09-06 15:36:54 +02:00
2019-05-16 20:18:17 +02:00
2019-06-01 12:16:55 +02:00