summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJan Willeke <willeke@de.ibm.com>2014-07-22 16:50:57 +0200
committerBen Hutchings <ben@decadent.org.uk>2017-10-12 15:28:19 +0100
commit784154f4c908fd35a316ea07c8ca82862beb4008 (patch)
tree101b1e10d481fe494092568eb239c092e7c9e7a7 /include/linux
parent28d6e14b806eca38dfa973e798e16b96b6f13fe7 (diff)
s390/seccomp: fix error return for filtered system calls
commit dc295880c6752076f8b94ba3885d0bfff09e3e82 upstream. 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> Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions