Originally posted by Leopard
View Post
Announcement
Collapse
No announcement yet.
Linux Kernel Hardens Sound Drivers Against Spectre V1 Vulnerability
Collapse
X
-
Originally posted by starshipeleven View PostYour lack of faith in kernel devs is disturbing. Repent asap or face the consequences of your sin.
Originally posted by starshipeleven View PostThe function used here for mitigating speculative vulnerabilities (Spectre) is into ifdefs (conditional macro code) and enabled/disabled with _LINUX_NOSPEC_H config. It's also sitting in its own file called "nospec.h", and there is a text file in the docs to explain what is this about https://github.com/torvalds/linux/bl...peculation.txt
Most other stuff about speculative vulnerability follows the same criteria, and it usually contains "nospec" in the name. https://github.com/torvalds/linux/se...q=nospec&type=
Note that commenting may not be very verbose as you can look up the git history of the file with all the commits to it and the descriptions from there.
- Likes 1
Comment
-
Originally posted by Ray54 View PostI do not understand why sound drivers need protecting against Spectre, etc. I do not think that sound drivers use passwords and I assume that this does not protect audio recordings made with the sound hardware. Could someone please say where the risk is with sound drivers?
- Likes 1
Comment
-
Originally posted by cybertraveler View PostMissing a "/s"?
Torvalds would reject AND shout profanities at anyone that tries sending what you were worried about, and the other top-level maintainers (and probably also other maintainers as well) will also reject it because that would be an ugly hack.
If they were allowing these shitty practices at all, the kernel would have become a bloody mess a while ago.
- Likes 1
Comment
-
Originally posted by starshipeleven View PostA bit exaggerated, but not totally sarcastic. You do have a too low idea of the quality standards there.
I appreciate the information you provided that demonstrated the Linux devs took a high quality approach to the problem.
- Likes 1
Comment
-
Originally posted by mastermind View Post
Second problem is that very few programmers think in terms of mathematics. Especially in kernel device drivers, we just want to execute a sequence of operations. Although this is not forbidden by functional languages, it's often more tedious to write such sequential bits of code. It will most likely result in less-readable and thus less maintainable code, in turn leading to fewer kernel contributors.
- Likes 1
Comment
Comment