[GIT PULL] RISC-V SECCOMP support for v5.4-rc5

From: Paul Walmsley
Date: Tue Oct 22 2019 - 19:03:14 EST


Linus,

The following changes since commit 5bf4e52ff0317db083fafee010dc806f8d4cb0cb:

RISC-V: fix virtual address overlapped in FIXADDR_START and VMEMMAP_START (2019-10-15 22:47:41 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv/for-v5.4-rc5

for you to fetch changes up to 7326fcbeea619b95c9b380ddee0a94f5f9ea6a48:

riscv: add support for SECCOMP and SECCOMP_FILTER (2019-10-16 08:27:25 -0700)

----------------------------------------------------------------
RISC-V SECCOMP support for v5.4-rc5

This pull request contains a single change: the addition of SECCOMP
support for RISC-V for v5.4-rc5. Normally, I'd consider this too
large for this point in the -rc releases. However, we've heard that
v5.4 is likely to be a long-term support release, and adding it in now
should help the distribution and security folks. The changes look
relatively bounded, and the only reason we've been sitting on it until
now is because we've been waiting for a trivial ack from the
tools/testing maintainer. That hasn't come. Since the change to that
subsystem is quite minor, we think it should be OK with her, so,
sending it now.

If you have a different opinion about whether this patch should go in
now, we're fine with requeuing it for v5.5-rc1.

----------------------------------------------------------------
David Abdurachmanov (1):
riscv: add support for SECCOMP and SECCOMP_FILTER

arch/riscv/Kconfig | 14 ++++++++++++++
arch/riscv/include/asm/seccomp.h | 10 ++++++++++
arch/riscv/include/asm/thread_info.h | 5 ++++-
arch/riscv/kernel/entry.S | 27 +++++++++++++++++++++++++--
arch/riscv/kernel/ptrace.c | 10 ++++++++++
tools/testing/selftests/seccomp/seccomp_bpf.c | 8 +++++++-
6 files changed, 70 insertions(+), 4 deletions(-)
create mode 100644 arch/riscv/include/asm/seccomp.h