1 The place where syscall information is gathered is:
3 arch/alpha/include/uapi/asm/unistd.h
4 arch/arm/include/uapi/asm/unistd.h
5 arch/ia64/include/uapi/asm/unistd.h
6 arch/powerpc/include/uapi/asm/unistd.h
7 arch/s390/include/uapi/asm/unistd.h
8 arch/x86/syscalls/syscall_32.tbl
9 arch/x86/syscalls/syscall_64.tbl
10 include/uapi/asm-generic/unistd.h (aarch64)
12 For src/ausearch-lookup.c:
13 Inspect include/linux/net.h for socketcall updates
14 Inspect include/linux/ipc.h for ipccall updates
16 For adding new arches, the following might be useful to get a first pass file:
18 cat unistd.h | grep '^#define __NR_' | tr -d ')' | tr 'NR+' ' ' | awk '{ printf "_S(%s, \"%s\")\n", $6, $3 }; '
20 it will still need hand editing