From ec2c0b34324a28a2fe1100af5ede0a3c35cfa88b Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 30 Dec 2019 11:48:07 +0200 Subject: [PATCH] Remove obsolete patches Merged upstream Signed-off-by: David Abdurachmanov --- ...iscv-reject-invalid-syscalls-below-1.patch | 24 ------------------- kernel.spec | 3 --- 2 files changed, 27 deletions(-) delete mode 100644 0002-riscv-reject-invalid-syscalls-below-1.patch diff --git a/0002-riscv-reject-invalid-syscalls-below-1.patch b/0002-riscv-reject-invalid-syscalls-below-1.patch deleted file mode 100644 index d066cad1f..000000000 --- a/0002-riscv-reject-invalid-syscalls-below-1.patch +++ /dev/null @@ -1,24 +0,0 @@ -From c000c7188f1a114a0d11eb006ab67c183d5da83a Mon Sep 17 00:00:00 2001 -From: Fedora Kernel Team -Date: Thu, 19 Dec 2019 09:05:21 +0000 -Subject: [PATCH 2/3] riscv: reject invalid syscalls below -1 - ---- - arch/riscv/kernel/entry.S | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/arch/riscv/kernel/entry.S b/arch/riscv/kernel/entry.S -index a1349ca..e163b7b 100644 ---- a/arch/riscv/kernel/entry.S -+++ b/arch/riscv/kernel/entry.S -@@ -246,6 +246,7 @@ check_syscall_nr: - */ - li t1, -1 - beq a7, t1, ret_from_syscall_rejected -+ blt a7, t1, 1f - /* Call syscall */ - la s0, sys_call_table - slli t0, a7, RISCV_LGPTR --- -2.24.1 - diff --git a/kernel.spec b/kernel.spec index 31f9de820..fd3283d22 100644 --- a/kernel.spec +++ b/kernel.spec @@ -871,9 +871,6 @@ Patch526: libertas-Fix-two-buffer-overflows-at-parsing-bss-descriptor.patch # https://github.com/sifive/riscv-linux/commits/dev/paulw/cpufreq-dt-aloe-v5.3-rc4 Patch570: 0002-SiFive-Unleashed-CPUFreq.patch -# https://patchwork.kernel.org/patch/11299999/ -Patch573: 0002-riscv-reject-invalid-syscalls-below-1.patch - # https://patchwork.kernel.org/patch/11301459/ Patch574: 0001-riscv-change-CSR-M-S-defines-to-use-X-for-prefix.patch