checksyscalls.sh (5e2aa2ed08e2e280121dc7cf5609c87d464f12ef) | checksyscalls.sh (1f57d5d85ba7f1f467173ff33f51d01a91f9aaf1) |
---|---|
1#!/bin/sh 2# 3# Check if current architecture are missing any function calls compared 4# to i386. 5# i386 define a number of legacy system calls that are i386 specific 6# and listed below so they are ignored. 7# 8# Usage: --- 198 unchanged lines hidden (view full) --- 207#if !defined(__NR_${name}) && !defined(__IGNORE_${name}) 208#warning syscall ${name} not implemented 209#endif 210EOF 211 done 212 ) 213} 214 | 1#!/bin/sh 2# 3# Check if current architecture are missing any function calls compared 4# to i386. 5# i386 define a number of legacy system calls that are i386 specific 6# and listed below so they are ignored. 7# 8# Usage: --- 198 unchanged lines hidden (view full) --- 207#if !defined(__NR_${name}) && !defined(__IGNORE_${name}) 208#warning syscall ${name} not implemented 209#endif 210EOF 211 done 212 ) 213} 214 |
215(ignore_list && syscall_list $(dirname $0)/../arch/x86/syscalls/syscall_32.tbl) | \ | 215(ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \ |
216$* -E -x c - > /dev/null | 216$* -E -x c - > /dev/null |