From: Jan Willeke Date: Tue, 22 Jul 2014 14:50:57 +0000 (+0200) Subject: s390/seccomp: fix error return for filtered system calls X-Git-Tag: cleanup-for-v3.18~95^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc295880c6752076f8b94ba3885d0bfff09e3e82;p=pandora-kernel.git 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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed