aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checksyscalls.sh15
1 files changed, 12 insertions, 3 deletions
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh
index cc70a64fa81f..a18b47695f55 100755
--- a/scripts/checksyscalls.sh
+++ b/scripts/checksyscalls.sh
@@ -30,12 +30,14 @@ cat << EOF
30#define __IGNORE_readlink /* readlinkat */ 30#define __IGNORE_readlink /* readlinkat */
31#define __IGNORE_symlink /* symlinkat */ 31#define __IGNORE_symlink /* symlinkat */
32#define __IGNORE_utimes /* futimesat */ 32#define __IGNORE_utimes /* futimesat */
33#if BITS_PER_LONG == 64
34#define __IGNORE_stat /* fstatat */ 33#define __IGNORE_stat /* fstatat */
35#define __IGNORE_lstat /* fstatat */ 34#define __IGNORE_lstat /* fstatat */
36#else
37#define __IGNORE_stat64 /* fstatat64 */ 35#define __IGNORE_stat64 /* fstatat64 */
38#define __IGNORE_lstat64 /* fstatat64 */ 36#define __IGNORE_lstat64 /* fstatat64 */
37
38#ifndef __ARCH_WANT_SET_GET_RLIMIT
39#define __IGNORE_getrlimit /* getrlimit */
40#define __IGNORE_setrlimit /* setrlimit */
39#endif 41#endif
40 42
41/* Missing flags argument */ 43/* Missing flags argument */
@@ -133,11 +135,18 @@ cat << EOF
133#define __IGNORE_io_pgetevents 135#define __IGNORE_io_pgetevents
134#define __IGNORE_recvmmsg 136#define __IGNORE_recvmmsg
135#define __IGNORE_mq_timedsend 137#define __IGNORE_mq_timedsend
136#define __IGNORE_mq_timedreceiv 138#define __IGNORE_mq_timedreceive
137#define __IGNORE_semtimedop 139#define __IGNORE_semtimedop
138#define __IGNORE_rt_sigtimedwait 140#define __IGNORE_rt_sigtimedwait
139#define __IGNORE_futex 141#define __IGNORE_futex
140#define __IGNORE_sched_rr_get_interval 142#define __IGNORE_sched_rr_get_interval
143#define __IGNORE_gettimeofday
144#define __IGNORE_settimeofday
145#define __IGNORE_wait4
146#define __IGNORE_adjtimex
147#define __IGNORE_nanosleep
148#define __IGNORE_io_getevents
149#define __IGNORE_recvmmsg
141#endif 150#endif
142 151
143/* i386-specific or historical system calls */ 152/* i386-specific or historical system calls */