Skip to content

Commit 1d5b823

Browse files
committed
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: 48166e6 ("y2038: add 64-bit time_t syscalls to all 32-bit architectures") Fixes: bf4b6a7 ("y2038: Remove stat64 family from default syscall set") Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 8e9f51a commit 1d5b823

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/checksyscalls.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,10 @@ cat << EOF
3030
#define __IGNORE_readlink /* readlinkat */
3131
#define __IGNORE_symlink /* symlinkat */
3232
#define __IGNORE_utimes /* futimesat */
33-
#if BITS_PER_LONG == 64
3433
#define __IGNORE_stat /* fstatat */
3534
#define __IGNORE_lstat /* fstatat */
36-
#else
3735
#define __IGNORE_stat64 /* fstatat64 */
3836
#define __IGNORE_lstat64 /* fstatat64 */
39-
#endif
4037
4138
#ifndef __ARCH_WANT_SET_GET_RLIMIT
4239
#define __IGNORE_getrlimit /* getrlimit */
@@ -138,7 +135,7 @@ cat << EOF
138135
#define __IGNORE_io_pgetevents
139136
#define __IGNORE_recvmmsg
140137
#define __IGNORE_mq_timedsend
141-
#define __IGNORE_mq_timedreceiv
138+
#define __IGNORE_mq_timedreceive
142139
#define __IGNORE_semtimedop
143140
#define __IGNORE_rt_sigtimedwait
144141
#define __IGNORE_futex

0 commit comments

Comments
 (0)