Skip to content
Snippets Groups Projects
Commit 8bf37d8c authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

seccomp: Move speculation migitation control to arch code


The migitation control is simpler to implement in architecture code as it
avoids the extra function call to check the mode. Aside of that having an
explicit seccomp enabled mode in the architecture mitigations would require
even more workarounds.

Move it into architecture code and provide a weak function in the seccomp
code. Remove the 'which' argument as this allows the architecture to decide
which mitigations are relevant for seccomp.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 00a02d0c
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment