Fix patch format

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2019-06-24 17:50:29 +03:00
parent 6d70f5be5f
commit 5e0efa7c70
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
2 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,18 @@
From 939cdc6bb698412dffdc3011be9268ed3242b6d6 Mon Sep 17 00:00:00 2001
From: David Abdurachmanov <david.abdurachmanov@sifive.com>
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

View File

@ -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