Andreas Kling
dce030eefc
Kernel: Use RDTSC instead of get_fast_random() for syscall stack noise
...
This was the original approach before we switched to get_fast_random()
which wasn't fast enough, so we added a buffer.
Unfortunately that buffer is racy and we can actually skid past the end
of it and continue fetching "random" offsets from the adjacent memory
for a while, until we run out of kernel data segment and trip a fault.
Instead of making this even more convoluted, let's just go back to the
pleasantly simple (RDTSC & 0xff) approach. :^)
Fixes #4912 .
2021-03-02 14:25:38 +01:00
..
2021-02-23 20:56:54 +01:00
2021-02-25 16:27:12 +01:00
2021-02-28 15:27:53 +01:00
2021-03-02 08:36:08 +01:00
2021-03-02 08:36:08 +01:00
2021-02-28 18:09:12 +01:00
2021-02-28 18:09:12 +01:00
2021-03-02 08:36:08 +01:00
2021-02-28 18:09:12 +01:00
2021-02-28 18:09:12 +01:00
2021-03-02 08:36:08 +01:00
2021-03-02 08:36:08 +01:00
2021-03-02 08:36:08 +01:00
2021-03-02 08:36:08 +01:00
2021-02-28 18:09:12 +01:00
2021-02-23 21:11:53 +01:00
2021-02-25 17:25:34 +01:00
2021-02-23 20:56:54 +01:00
2021-02-28 18:09:12 +01:00
2021-02-28 18:09:12 +01:00
2021-02-23 20:56:54 +01:00
2021-02-23 20:56:54 +01:00
2021-02-23 20:56:54 +01:00
2021-02-23 20:56:54 +01:00
2021-02-28 18:19:37 +01:00
2021-02-28 18:09:12 +01:00
2021-02-23 20:56:54 +01:00
2021-02-28 18:09:12 +01:00
2021-02-28 18:09:12 +01:00
2021-02-25 17:25:34 +01:00
2021-02-25 16:27:12 +01:00
2021-02-23 20:56:54 +01:00
2021-02-28 18:09:12 +01:00
2021-02-25 17:25:34 +01:00
2021-02-28 18:09:12 +01:00
2021-03-02 08:36:08 +01:00
2021-03-02 08:36:08 +01:00
2021-03-01 11:11:09 +01:00
2021-03-02 08:36:08 +01:00
2021-02-23 20:56:54 +01:00
2021-02-26 16:59:56 +01:00
2021-03-02 08:36:08 +01:00
2021-03-02 08:36:08 +01:00
2021-03-02 14:25:38 +01:00
2021-03-02 08:36:08 +01:00
2021-03-02 08:36:08 +01:00
2021-03-02 08:36:08 +01:00
2021-02-23 20:56:54 +01:00
2021-03-02 08:36:08 +01:00
2021-03-02 08:36:08 +01:00
2021-02-24 14:27:06 +01:00
2021-02-26 16:59:56 +01:00
2021-02-23 20:56:54 +01:00
2021-02-28 18:09:12 +01:00
2021-02-23 20:56:54 +01:00