News for hackers. Stuff that matters.
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.
Re:Fixing Getrandom() by webkike on Tuesday October 01, 2019 @09:05PM (#21132569)
Indeed. I don't see how the solution to this problem isn't just to patch gdm.
Re:Fixing Getrandom() by ac29 on Wednesday October 02, 2019 @12:51AM (#21133529)
Because the kernel has a policy of not introducing changes that break userspace, even if userspace is doing something weird.
Re:Fixing Getrandom() by loeg on Wednesday October 02, 2019 @02:49AM (#21133930)
Changing the semantics of getrandom(flags=0) breaks a lot of userspace ABI.
Re:Fixing Getrandom() by webkike on Saturday October 05, 2019 @10:56PM (#21169528)
yeah, this breaks userspace. It's much easier to argue userspace is already broken under the current definition