Re:Fixing Getrandom()
by emilfihlman on Tuesday October 01, 2019 @04:53PM
(#21130497)
This is strictly bad. getrandom was fine as it was, it's not the issue with the kernel if people don't read the explicitly documented man page on it. This is now changing behaviour, breaking the god damn userspace which is exactly 100% what the kernel shouldn't be doing.
[ Parent
| on HN ]
Indeed. I don't see how the solution to this problem isn't just to patch gdm.
Because the kernel has a policy of not introducing changes that break userspace, even if userspace is doing something weird.
Changing the semantics of getrandom(flags=0) breaks a lot of userspace ABI.