summaryrefslogtreecommitdiffstats
path: root/kernel/stop_machine.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2014-07-22 03:49:16 +0200
committerKees Cook <keescook@chromium.org>2014-09-03 23:58:17 +0200
commitd39bd00deabe57420f2a3669eb71b0e0c4997184 (patch)
treebc32386d90df23c8d657b6b6a0051a0a59af11fe /kernel/stop_machine.c
parentseccomp: Refactor the filter callback and the API (diff)
downloadlinux-d39bd00deabe57420f2a3669eb71b0e0c4997184.tar.xz
linux-d39bd00deabe57420f2a3669eb71b0e0c4997184.zip
seccomp: Allow arch code to provide seccomp_data
populate_seccomp_data is expensive: it works by inspecting task_pt_regs and various other bits to piece together all the information, and it's does so in multiple partially redundant steps. Arch-specific code in the syscall entry path can do much better. Admittedly this adds a bit of additional room for error, but the speedup should be worth it. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions