From: Heiko Carstens Date: Tue, 4 Aug 2015 07:15:58 +0000 (+0200) Subject: s390/syscalls: ignore syscalls reachable via sys_socketcall X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a7ff75a0c63222d138d944240146dc49a9624e1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390/syscalls: ignore syscalls reachable via sys_socketcall x86 will wire up all syscalls reachable via sys_socketcall. Therefore this will yield a lot of warnings from the checksyscalls.sh scripts on s390 where we currently don't wire them up directly. This might change in the future, but this needs to be done carefully in order to not break anything. For the time being just tell the checksyscalls script to ignore the missing syscalls on s390. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/include/asm/unistd.h b/arch/s390/include/asm/unistd.h index ec2bfc83a1e9..06bc3c292fb3 100644 --- a/arch/s390/include/asm/unistd.h +++ b/arch/s390/include/asm/unistd.h @@ -18,9 +18,24 @@ #define __ARCH_WANT_migrate_pages #define __ARCH_WANT_move_pages -/* Ignore system calls that are also reachable via sys_socket */ +/* Ignore system calls that are also reachable via sys_socketcall */ #define __IGNORE_recvmmsg #define __IGNORE_sendmmsg +#define __IGNORE_socket +#define __IGNORE_socketpair +#define __IGNORE_bind +#define __IGNORE_connect +#define __IGNORE_listen +#define __IGNORE_accept4 +#define __IGNORE_getsockopt +#define __IGNORE_setsockopt +#define __IGNORE_getsockname +#define __IGNORE_getpeername +#define __IGNORE_sendto +#define __IGNORE_sendmsg +#define __IGNORE_recvfrom +#define __IGNORE_recvmsg +#define __IGNORE_shutdown #define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_SYS_ALARM