[PATCH v2 2/2] Remove pread and pwrite from list of syscalls, ever existed in removed archs
From: Askar Safin <hidden>
Date: 2025-08-19 16:10:24
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Askar Safin <hidden>
Date: 2025-08-19 16:10:24
Subsystem:
the rest · Maintainer:
Linus Torvalds
Current version says that pread and pwrite ever existed in avr32 and blackfin archs only, which were removed from kernel. This is not true. pread and pwrite are present in modern Linux for all archs. They were merely renamed to pread64 and pwrite64 in Linux 2.6, as explained in big table in this man page Signed-off-by: Askar Safin <redacted> --- man/man2/syscalls.2 | 16 ---------------- 1 file changed, 16 deletions(-)
diff --git a/man/man2/syscalls.2 b/man/man2/syscalls.2
index 142204839..947974ebe 100644
--- a/man/man2/syscalls.2
+++ b/man/man2/syscalls.2@@ -1028,16 +1028,6 @@ this system call was never available to user space. Some system calls only ever existed on Linux architectures that have since been removed from the kernel: .TP -AVR32 (port removed in Linux 4.12) -.RS -.PD 0 -.IP \[bu] 3 -.BR pread (2) -.IP \[bu] -.BR pwrite (2) -.PD -.RE -.TP Blackfin (port removed in Linux 4.17) .RS .PD 0
@@ -1048,12 +1038,6 @@ Blackfin (port removed in Linux 4.17) .BR dma_memcpy (2) (added in Linux 2.6.22) .IP \[bu] -.BR pread (2) -(added in Linux 2.6.22) -.IP \[bu] -.BR pwrite (2) -(added in Linux 2.6.22) -.IP \[bu] .BR sram_alloc (2) (added in Linux 2.6.22) .IP \[bu]
--
2.47.2