On s390/s390x, syscalls with NR up to 255 can be implemented directly using "svc NR", for NR >= 256 "svc 0" with %r1=NR is used. The latter method is allowed for NR < 256, too. When the syscall number specified directly or indirectly is recognized by the kernel, i.e. it is less than its NR_syscalls value, it is stored in %r2 and is available to arch_get_scno via s390_regset.gprs[2]. For syscall numbers >= NR_syscalls this register is set to 0, but %r1 remains unchanged and could be used by arch_get_scno via s390_regset.gprs[1] to decide what the syscall number is. * linux/s390/get_scno.c (arch_get_scno): If s390_regset.gprs[2] is zero, take syscall number from s390_regset.gprs[1]. * NEWS: Mention this fix. This fixes Debian bug #485979 and Fedora bug #1298294.
This is strace, a system call tracer for Linux. strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details. See the file CREDITS for a list of authors and other contributors. See the file INSTALL for compilation and installation instructions. See the file NEWS for information on what has changed in recent versions. You can get the latest version of strace from its homepage at http://sourceforge.net/projects/strace/ . Please send bug reports and enhancements to the strace mailinglist at strace-devel@lists.sourceforge.net.
Description
Languages
C
92.2%
Shell
3.4%
M4
1.4%
Makefile
0.8%
Roff
0.7%
Other
1.5%