diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-05 15:05:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-05 15:05:23 +0200 |
commit | 4a3cc18aa8110b421500c04634b129f04e9a6171 (patch) | |
tree | 9308441889990062baf681d34ed6f7f0171ed77e | |
parent | 64d364659d7c6df72401c911ebf98efead9953e1 (diff) | |
download | patches-4a3cc18aa8110b421500c04634b129f04e9a6171.tar.gz |
refresh
-rw-r--r-- | 0001-readfile-implement-readfile-syscall.patch | 2 | ||||
-rw-r--r-- | 0002-arch-wire-up-the-readfile-syscall.patch | 16 | ||||
-rw-r--r-- | 0003-selftests-add-readfile-2-selftests.patch | 2 | ||||
-rw-r--r-- | 0004-readfile.2-new-page-describing-readfile-2.patch | 2 |
4 files changed, 17 insertions, 5 deletions
diff --git a/0001-readfile-implement-readfile-syscall.patch b/0001-readfile-implement-readfile-syscall.patch index b34eca5524367e..88cf996b382e11 100644 --- a/0001-readfile-implement-readfile-syscall.patch +++ b/0001-readfile-implement-readfile-syscall.patch @@ -1,4 +1,4 @@ -From 9f2f78c4e3056805f8b5c6d58ec7a2c5cfda5482 Mon Sep 17 00:00:00 2001 +From c28d7cedda47e7f1575fb58d12cc892a12093c22 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Date: Sun, 24 May 2020 12:37:15 +0200 Subject: [PATCH 1/4] readfile: implement readfile syscall 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 diff --git a/0003-selftests-add-readfile-2-selftests.patch b/0003-selftests-add-readfile-2-selftests.patch index 60d6ee3a16e010..881ab3f7443a4d 100644 --- a/0003-selftests-add-readfile-2-selftests.patch +++ b/0003-selftests-add-readfile-2-selftests.patch @@ -1,4 +1,4 @@ -From 46848d3e7dac653b47d1657188fd3d3d8b5ff8f9 Mon Sep 17 00:00:00 2001 +From 3c2a46d3834f782c4154fb5c7749dd45246e1885 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Date: Sun, 8 Mar 2020 09:54:45 +0100 Subject: [PATCH 3/4] selftests: add readfile(2) selftests diff --git a/0004-readfile.2-new-page-describing-readfile-2.patch b/0004-readfile.2-new-page-describing-readfile-2.patch index 3e7cc64295d6fd..7603c0dbef876e 100644 --- a/0004-readfile.2-new-page-describing-readfile-2.patch +++ b/0004-readfile.2-new-page-describing-readfile-2.patch @@ -1,4 +1,4 @@ -From 49df3607c64bd48afbc4ce729ee310364c134def Mon Sep 17 00:00:00 2001 +From 988a63edfccc64b73f380e60a3769a8775ae050e Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Date: Fri, 12 Jun 2020 12:11:39 +0200 Subject: [PATCH 4/4] readfile.2: new page describing readfile(2) |