Thread (5 messages) 5 messages, 3 authors, 2019-11-06

Re: [PATCH 1/1] syscalls: Fix references to filenames containing syscall defs

flat view

From: Arnd Bergmann <arnd@arndb.de>
Date: 2019-11-05 09:49:34
Also in: linux-arch, lkml

On Tue, Nov 5, 2019 at 10:34 AM Thomas Gleixner [off-list ref] wrote:
On Mon, 4 Nov 2019, Mohammad Nasirifar wrote:
quoted
Fix stale references to files containing syscall definitions in
'include/linux/syscalls.h' and 'include/uapi/asm-generic/unistd.h',
pointing to 'kernel/itimer.c', 'kernel/hrtimer.c', and 'kernel/time.c'.
They are now under 'kernel/time'.

Also definitions of 'getpid', 'getppid', 'getuid', 'geteuid', 'getgid',
'getegid', 'gettid', and 'sysinfo' are now in 'kernel/sys.c'.
Can we please remove these file references completely. They are going to be
stale sooner than later again and they really do not provide any value.
+1

Good idea!

In the long run, I'd prefer to have a parsable format that can be used to
generate both the header file and the stubs that we currently provide
using SYSCALL_DEFINEx(), but before that I'd like the remaining two
unistd.h files to be converted to syscall.tbl format (Nitesh is still working
on that).

      Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help