aboutsummaryrefslogtreecommitdiffstats
path: root/0002-arch-wire-up-the-readfile-syscall.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-05 15:05:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-05 15:05:23 +0200
commit4a3cc18aa8110b421500c04634b129f04e9a6171 (patch)
tree9308441889990062baf681d34ed6f7f0171ed77e /0002-arch-wire-up-the-readfile-syscall.patch
parent64d364659d7c6df72401c911ebf98efead9953e1 (diff)
downloadpatches-4a3cc18aa8110b421500c04634b129f04e9a6171.tar.gz
refresh
Diffstat (limited to '0002-arch-wire-up-the-readfile-syscall.patch')
-rw-r--r--0002-arch-wire-up-the-readfile-syscall.patch16
1 files changed, 14 insertions, 2 deletions
diff --git a/0002-arch-wire-up-the-readfile-syscall.patch b/0002-arch-wire-up-the-readfile-syscall.patch
index 5b6b45f0ed9070..340fdf9729f0fe 100644
--- a/0002-arch-wire-up-the-readfile-syscall.patch
+++ b/0002-arch-wire-up-the-readfile-syscall.patch
@@ -1,4 +1,4 @@
-From 8e475ba37dc1e5922dc4648bb42b1a36f692e440 Mon Sep 17 00:00:00 2001
+From 9723d438992d0c11d5d3e886198674ef28213edc Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Sun, 24 May 2020 12:36:21 +0200
Subject: [PATCH 2/4] arch: wire up the readfile syscall
@@ -9,6 +9,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/alpha/kernel/syscalls/syscall.tbl | 1 +
arch/arm/tools/syscall.tbl | 1 +
+ arch/arm64/include/asm/unistd.h | 2 +-
arch/arm64/include/asm/unistd32.h | 2 ++
arch/ia64/kernel/syscalls/syscall.tbl | 1 +
arch/m68k/kernel/syscalls/syscall.tbl | 1 +
@@ -26,7 +27,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/kernel/syscalls/syscall.tbl | 1 +
include/linux/syscalls.h | 2 ++
include/uapi/asm-generic/unistd.h | 4 +++-
- 19 files changed, 23 insertions(+), 1 deletion(-)
+ 20 files changed, 24 insertions(+), 2 deletions(-)
--- a/arch/alpha/kernel/syscalls/syscall.tbl
+++ b/arch/alpha/kernel/syscalls/syscall.tbl
@@ -42,6 +43,17 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
441 common epoll_pwait2 sys_epoll_pwait2
442 common mount_setattr sys_mount_setattr
+443 common readfile sys_readfile
+--- a/arch/arm64/include/asm/unistd.h
++++ b/arch/arm64/include/asm/unistd.h
+@@ -38,7 +38,7 @@
+ #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE + 5)
+ #define __ARM_NR_COMPAT_END (__ARM_NR_COMPAT_BASE + 0x800)
+
+-#define __NR_compat_syscalls 443
++#define __NR_compat_syscalls 444
+ #endif
+
+ #define __ARCH_WANT_SYS_CLONE
--- a/arch/arm64/include/asm/unistd32.h
+++ b/arch/arm64/include/asm/unistd32.h
@@ -893,6 +893,8 @@ __SYSCALL(__NR_process_madvise, sys_proc