diff options
author | David Daney <david.daney@cavium.com> | 2017-06-14 01:28:47 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-06-28 13:22:39 +0300 |
commit | 669c4092225f0ed5df12ebee654581b558a5e3ed (patch) | |
tree | e8459184eab6c4ad965058ee74c8d77b2ba7276e /arch/mips/mm | |
parent | f381bf6d82f032b7410185b35d000ea370ac706b (diff) | |
download | linux-669c4092225f0ed5df12ebee654581b558a5e3ed.tar.xz |
MIPS: Give __secure_computing() access to syscall arguments.
KProbes of __seccomp_filter() are not very useful without access to
the syscall arguments.
Do what x86 does, and populate a struct seccomp_data to be passed to
__secure_computing(). This allows samples/bpf/tracex5 to extract a
sensible trace.
Signed-off-by: David Daney <david.daney@cavium.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16368/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm')
0 files changed, 0 insertions, 0 deletions