about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-02-09 16:53:51 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-02-09 16:54:01 +0100
commitaff7fcc5ee68faa1334ccfe8066ae3c42d927fe8 (patch)
tree3011cd706475d12bdfb2464ca7fd8fe6e424677e /scripts
parent3430ed09d3bef58dbf3fe18d87716236883599d8 (diff)
downloadglibc-aff7fcc5ee68faa1334ccfe8066ae3c42d927fe8.tar.gz
glibc-aff7fcc5ee68faa1334ccfe8066ae3c42d927fe8.tar.xz
glibc-aff7fcc5ee68faa1334ccfe8066ae3c42d927fe8.zip
Linux: Enhance glibcsyscalls.h to support listing system calls
The script can now be called to query the definition status of
system call numbers across all architectures, like this:

$ python3 sysdeps/unix/sysv/linux/glibcsyscalls.py query-syscall sync_file_range sync_file_range2
sync_file_range:
  defined: aarch64 alpha csky hppa i386 ia64 m68k microblaze mips/mips32 mips/mips64/n32 mips/mips64/n64 nios2 riscv/rv64 s390/s390-32 s390/s390-64 sh sparc/sparc32 sparc/sparc64 x86_64/64 x86_64/x32
  undefined: arm powerpc/powerpc32 powerpc/powerpc64
sync_file_range2:
  defined: arm powerpc/powerpc32 powerpc/powerpc64
  undefined: aarch64 alpha csky hppa i386 ia64 m68k microblaze mips/mips32 mips/mips64/n32 mips/mips64/n64 nios2 riscv/rv64 s390/s390-32 s390/s390-64 sh sparc/sparc32 sparc/sparc64 x86_64/64 x86_64/x32
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions