aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2013-10-14 10:09:37 +0000
committerMartin Schwidefsky <[email protected]>2013-10-15 11:47:59 +0000
commit0ebfd313fd4baf3fa1bd02d5f106e377595d4987 (patch)
tree22e157baf879135b96cab1f436813c110168e2e5 /security/selinux/hooks.c
parents390/dasd: check for availability of prefix command during format (diff)
downloadkernel-0ebfd313fd4baf3fa1bd02d5f106e377595d4987.tar.gz
kernel-0ebfd313fd4baf3fa1bd02d5f106e377595d4987.zip
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 <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions