From: Andy Lutomirski Date: Tue, 22 Jul 2014 01:49:16 +0000 (-0700) Subject: seccomp: Allow arch code to provide seccomp_data X-Git-Tag: fixes-against-v3.18-rc2~86^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d39bd00deabe57420f2a3669eb71b0e0c4997184;p=pandora-kernel.git 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 Signed-off-by: Kees Cook --- Reading git-diff-tree failed