Hello Andreas, On 3/31/19 1:37 PM, Andreas Korb wrote:
Dear manpage-Maintainers, my matter of concern is about: http://man7.org/linux/man-pages/man2/syscalls.2.html The "NOTES" section to be specific. I guess the path "/usr/src/linux/arch/i386/kernel/entry.S" is not correct anymore. First, I think the folder i386 was renamed to x86 and second, there is the new folder "entry" in the kernel folder: "linux/arch/x86/entry/entry_32.S".
Thanks for the report.
But maybe there are reasons why this wasn't changed yet.
Because no one reported it :-). Indeed that text is very old, and long ago ceased to be correct. Nowadays, the syscall dispatch table is autogenerated (see arch/x86/entry/syscalls/Makefile), rather than being a part of the kernel source. I simply removed that sentence. Cheers, Michael diff --git a/man2/syscalls.2 b/man2/syscalls.2 index 0a9af5556..1c0723941 100644 --- a/man2/syscalls.2 +++ b/man2/syscalls.2 @@ -887,8 +887,6 @@ with number __NR_xxx defined in .I /usr/include/asm/unistd.h can be found in the Linux kernel source in the routine .IR sys_xxx (). -(The dispatch table for i386 can be found in -.IR /usr/src/linux/arch/i386/kernel/entry.S .) There are many exceptions, however, mostly because older system calls were superseded by newer ones, and this has been treated somewhat unsystematically.