Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

checksyscalls: fix up mq_timedreceive and stat exceptions

mq_timedreceive was spelled incorrectly, and we need exceptions
for new architectures that leave out newstat or stat64, implementing
only statx() now.

Fixes: 48166e6ea47d ("y2038: add 64-bit time_t syscalls to all 32-bit architectures")
Fixes: bf4b6a7d371e ("y2038: Remove stat64 family from default syscall set")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+1 -4
+1 -4
scripts/checksyscalls.sh
··· 30 30 #define __IGNORE_readlink /* readlinkat */ 31 31 #define __IGNORE_symlink /* symlinkat */ 32 32 #define __IGNORE_utimes /* futimesat */ 33 - #if BITS_PER_LONG == 64 34 33 #define __IGNORE_stat /* fstatat */ 35 34 #define __IGNORE_lstat /* fstatat */ 36 - #else 37 35 #define __IGNORE_stat64 /* fstatat64 */ 38 36 #define __IGNORE_lstat64 /* fstatat64 */ 39 - #endif 40 37 41 38 #ifndef __ARCH_WANT_SET_GET_RLIMIT 42 39 #define __IGNORE_getrlimit /* getrlimit */ ··· 135 138 #define __IGNORE_io_pgetevents 136 139 #define __IGNORE_recvmmsg 137 140 #define __IGNORE_mq_timedsend 138 - #define __IGNORE_mq_timedreceiv 141 + #define __IGNORE_mq_timedreceive 139 142 #define __IGNORE_semtimedop 140 143 #define __IGNORE_rt_sigtimedwait 141 144 #define __IGNORE_futex