diff options
author | Petr Machata <pmachata@redhat.com> | 2013-11-27 00:42:51 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2013-11-27 00:42:51 +0100 |
commit | 42cccc91299718b95eecffa6941e29c33d5616b3 (patch) | |
tree | 599183a1306cf3dbcd50ff6b63079836ba8c3ea6 /common.h | |
parent | 7b0088dbf6861987f13ad1e0740d633069fdb9d7 (diff) | |
download | ltrace-42cccc91299718b95eecffa6941e29c33d5616b3.tar.gz |
On s390{,x}, r2 is scrambled after syscall entry
This was caught by system_call_params.exp test case:
exe->mount("source", "target", "filesystemtype", 0, nil <unfinished ...>
mount@SYS("", "target", "filesystemtype", 0, nil) = -2
<... mount resumed> = -1
Note how the first parameter disappears--r2 now holds syscall number
(21 in this case), and the original value is stored in orig_gpr2 in
save area.
Diffstat (limited to 'common.h')
0 files changed, 0 insertions, 0 deletions