mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Since kernel stacks are much smaller (64 KiB) than userspace stacks, we only add a small bit of randomness here (0-256 bytes, 16b aligned.) This makes the location of the task context switch buffer not be 100% predictable. Note that we still also add extra randomness upon syscall entry, so this patch primarily affects context switching.