summaryrefslogtreecommitdiffstats
path: root/Documentation/cma
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-05-04 15:12:06 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-05-05 00:51:44 +0200
commit8bf37d8c067bb7eb8e7c381bdadf9bd89182b6bc (patch)
treeac991511615d563b0141782cba95fc2482a68afc /Documentation/cma
parent00a02d0c502a06d15e07b857f8ff921e3e402675 (diff)
downloadlinux-8bf37d8c067bb7eb8e7c381bdadf9bd89182b6bc.tar.gz
linux-8bf37d8c067bb7eb8e7c381bdadf9bd89182b6bc.tar.bz2
linux-8bf37d8c067bb7eb8e7c381bdadf9bd89182b6bc.zip
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: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'Documentation/cma')
0 files changed, 0 insertions, 0 deletions