From: Heiko Carstens Date: Mon, 14 Oct 2013 10:09:37 +0000 (+0200) Subject: s390/compat,signal: fix return value of copy_siginfo_(to|from)_user32() X-Git-Tag: v3.12-rc7~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ebfd313fd4baf3fa1bd02d5f106e377595d4987;p=pandora-kernel.git s390/compat,signal: fix return value of copy_siginfo_(to|from)_user32() The return value of copy_siginfo_(to|from)_user32() gets passed to user space, however we do not convert a positive return value from copy_(to|from)_user to -EFAULT. Therefore these functions (and the calling system calls) my incorrectly return a positive number (bytes not copied) instead of -EFAULT. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed