diff options
author | Jan Willeke <willeke@de.ibm.com> | 2014-07-22 16:50:57 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-07-28 10:02:31 +0200 |
commit | dc295880c6752076f8b94ba3885d0bfff09e3e82 (patch) | |
tree | 193959044c6458cb104cdf3f14bd00920bacdb97 /drivers/ssb/scan.c | |
parent | c60d1ae4efcb5790f7d085369baf66c167a6484f (diff) | |
download | op-kernel-dev-dc295880c6752076f8b94ba3885d0bfff09e3e82.zip op-kernel-dev-dc295880c6752076f8b94ba3885d0bfff09e3e82.tar.gz |
s390/seccomp: fix error return for filtered system calls
The syscall_set_return_value function of s390 negates the error argument
before storing the value to the return register gpr2. This is incorrect,
the seccomp code already passes the negative error value.
Store the unmodified error value to gpr2.
Signed-off-by: Jan Willeke <willeke@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/ssb/scan.c')
0 files changed, 0 insertions, 0 deletions