diff --git a/riscv_seccomp_v2.patch b/0001-riscv-add-SECCOMP-support.patch similarity index 89% rename from riscv_seccomp_v2.patch rename to 0001-riscv-add-SECCOMP-support.patch index 7c646bf32..47b889056 100644 --- a/riscv_seccomp_v2.patch +++ b/0001-riscv-add-SECCOMP-support.patch @@ -1,3 +1,18 @@ +From 939cdc6bb698412dffdc3011be9268ed3242b6d6 Mon Sep 17 00:00:00 2001 +From: David Abdurachmanov +Date: Mon, 24 Jun 2019 17:48:59 +0300 +Subject: [PATCH] riscv: add SECCOMP support + +--- + 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 + diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 0c4b12205632..6f89a83c1e9c 100644 --- a/arch/riscv/Kconfig @@ -172,3 +187,6 @@ index dc66fe852768..e30864b25fb5 100644 { regs.SYSCALL_NUM = syscall; } +-- +2.21.0 + diff --git a/kernel.spec b/kernel.spec index 5fcaa7995..b5b17d244 100644 --- a/kernel.spec +++ b/kernel.spec @@ -599,7 +599,7 @@ Patch534: 0001-HID-logitech-dj-Fix-forwarding-of-very-long-HID-repo.patch Patch535: Revert-Bluetooth-Align-minimum-encryption-key-size.patch # RISC-V SECCOMP support v2 (not posted on linux-riscv yet) -Patch550: riscv_seccomp_v2.patch +Patch550: 0001-riscv-add-SECCOMP-support.patch # END OF PATCH DEFINITIONS