News for hackers. Stuff that matters.
Re:Spectre mitigations murder userspace performance by saati on Sunday June 20, 2021 @05:12AM (#27568384)
What would stop malware telling the os to not check it?
Re:Spectre mitigations murder userspace performance by binarybanana on Sunday June 20, 2021 @11:30AM (#27570985)
Nothing, but that only makes reading the malware's memory possible with these exploits. That malware won't be able to access memory of some other process, if that other process is using those flags itself.

Edit: For that to work that flag would have to work on the context switch level. So every time you switch away from a sensitive process, flush all buffers and whatever else, then switch. This also requires the kernel itself to enable mitigations as necessary when it touches encryption keys before switching back to user space.

Re:Spectre mitigations murder userspace performance by staticassertion on Sunday June 20, 2021 @05:10PM (#27573939)
That assumes that the malware can already have arbitrary control over system calls, at which point spectre isn't the issue.