]> granicus.if.org Git - strace/commit
x86, x32, x86_64: print SECCOMP_RET_ERRNO filtered syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 5 Feb 2015 23:43:06 +0000 (23:43 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 6 Feb 2015 01:23:05 +0000 (01:23 +0000)
commitd70c41ddad5a1cde7c978a65370809abc2eba508
tree07489f2bf380ecc41c039743cfea178c45ced6cf
parentf46ab5f1693e003abcd9c8634f37f6c5baac1a99
x86, x32, x86_64: print SECCOMP_RET_ERRNO filtered syscalls

This is required to process SECCOMP_RET_ERRNO filtered syscalls on
systems where linux kernel does not change the syscall number to -1.

* syscall.c (is_negated_errno): Move before syscall_fixup_on_sysenter.
(syscall_fixup_on_sysenter) [I386 || X32 || X86_64] : Use it to check
AX register.
syscall.c