Remove obsolete patches
Merged upstream Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
parent
fd3ac97be2
commit
ec2c0b3432
|
@ -1,24 +0,0 @@
|
||||||
From c000c7188f1a114a0d11eb006ab67c183d5da83a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
|
|
||||||
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
|
|
||||||
|
|
|
@ -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
|
# https://github.com/sifive/riscv-linux/commits/dev/paulw/cpufreq-dt-aloe-v5.3-rc4
|
||||||
Patch570: 0002-SiFive-Unleashed-CPUFreq.patch
|
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/
|
# https://patchwork.kernel.org/patch/11301459/
|
||||||
Patch574: 0001-riscv-change-CSR-M-S-defines-to-use-X-for-prefix.patch
|
Patch574: 0001-riscv-change-CSR-M-S-defines-to-use-X-for-prefix.patch
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue