commit | 42cccc91299718b95eecffa6941e29c33d5616b3 | [log] [tgz] |
---|---|---|
author | Petr Machata <pmachata@redhat.com> | Wed Nov 27 00:42:51 2013 +0100 |
committer | Petr Machata <pmachata@redhat.com> | Wed Nov 27 00:42:51 2013 +0100 |
tree | 599183a1306cf3dbcd50ff6b63079836ba8c3ea6 | |
parent | 7b0088dbf6861987f13ad1e0740d633069fdb9d7 [diff] |
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.