diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-12-10 19:18:07 +0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-12-16 17:37:47 +0400 |
commit | 41932bc1c86e527f866acfcd26506da3bd20509b (patch) | |
tree | f7dde5097459e6f13db18cd1219ac1cc8b4df246 /drivers/s390/char | |
parent | 96619fc1b3d06703113ab4c5cd8c15f35a42dc99 (diff) | |
download | linux-41932bc1c86e527f866acfcd26506da3bd20509b.tar.xz |
s390/compat: correct check for EFAULT in rt-signal frame creation
The return code of the __put_user call to store the rt_sigreturn
system call to the user stack if not properly checked, the err
variable is only checked before to the __put_user. Use an if
statement instead.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char')
0 files changed, 0 insertions, 0 deletions