-
Committer:
Ben Hutchings
-
Date:
2024-10-02 00:59:29 UTC
-
Revision ID:
git-v1:dcc395811cec4050ab7210d50b722070b2280d4a
[klibc] syscalls: Remove _KLIBC_SYS_SOCKETCALL config macro
From Linux 1.3.44 to 2.6.25, the sparc port implemented separate
system calls for socket(), connect(), etc. in its SunOS personality.
The system call numbers were defined in <asm/unistd.h> header even
though they were not implemented for native Linux programs.
As a workaround for this, commit 8594ecec842d ("[klibc] sparc, sparc64
use sys_socketcall unconditionally") added a macro to override
automatic detection of these system calls and defined that on these
architectures.
No other architecture ever needed this, and since Linux 4.20 all of
those system calls are now implemented. We can therefore remove the
use of this macro.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>