diff options
| author | Andy Lutomirski <luto@kernel.org> | 2016-05-27 12:57:02 -0700 |
|---|---|---|
| committer | Maggie White <maggiewhite@google.com> | 2019-02-28 01:36:20 +0000 |
| commit | 33f5077dccba3c1efd1010276370e8e7c4c4950c (patch) | |
| tree | 2908b3d3fb87673336b7281f0801ddf150d23c08 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | 6a24091207718bf60845d6937c32bd6518f54e0b (diff) | |
BACKPORT: seccomp: Add a seccomp_data parameter secure_computing()
Currently, if arch code wants to supply seccomp_data directly to
seccomp (which is generally much faster than having seccomp do it
using the syscall_get_xyz() API), it has to use the two-phase
seccomp hooks. Add it to the easy hooks, too.
Cc: linux-arch@vger.kernel.org
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
(cherry picked from commit 2f275de5d1ed7269913ef9b4c64a13952c0a38e8)
Bug: 119769499
Change-Id: I645c0d0b3beac2a7ef50525b4dbef5b37bcc5446
[ghackmann@google.com:
- apply arch/x86/entry/vsyscall/vsyscall_64.c changes to
arch/x86/kernel/vsyscall_64.c
- drop changes from architectures that lacked HAVE_ARCH_SECCOMP_FILTER
in 3.18]
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
