• Thomas Gleixner's avatar
    prctl: Add force disable speculation · 356e4bff
    Thomas Gleixner authored
    For certain use cases it is desired to enforce mitigations so they cannot
    be undone afterwards. That's important for loader stubs which want to
    prevent a child from disabling the mitigation again. Will also be used for
    seccomp(). The extra state preserving of the prctl state for SSB is a
    preparatory step for EBPF dymanic speculation control.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    356e4bff
bugs.c 18.2 KB