]> granicus.if.org Git - strace/commit
Use shuffle_scno for x32 syscall numbers
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 31 Jan 2018 19:08:29 +0000 (20:08 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 9 Feb 2018 22:11:50 +0000 (22:11 +0000)
commit0f60aba412d79d575b504f52279d11a05efe4fe1
tree291b68c795c86eb5982e4b86a8e86fd9563e0f6d
parent128413b850089a3f04b50af3d983f3a71eeee4c2
Use shuffle_scno for x32 syscall numbers

This changes behaviour of printing of unknown syscall.

* linux/x32/shuffle_scno.c: New file.
* linux/x86_64/shuffle_scno.c: Likewise.
* Makefile.am (EXTRA_DIST): Add them.
* linux/x86_64/get_scno.c (arch_get_scno): Do not clear
__X32_SYSCALL_BIT.
* tests/nsyscalls.c: Update expected output.
Makefile.am
linux/x32/shuffle_scno.c [new file with mode: 0644]
linux/x86_64/get_scno.c
linux/x86_64/shuffle_scno.c [new file with mode: 0644]
tests/nsyscalls.c