diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-21 00:05:21 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-14 00:49:44 +0300 |
commit | acb2505d0119033a80c85ac8d02dccae41271667 (patch) | |
tree | 5537954675e9bd923ab1bfe1fea29806e6334ae6 /arch/parisc/include/asm/uaccess.h | |
parent | 2e29f50ad5e23db37dde9be71410d95d50241ecd (diff) | |
download | linux-acb2505d0119033a80c85ac8d02dccae41271667.tar.xz |
openrisc: fix copy_from_user()
... that should zero on faults. Also remove the <censored> helpful
logics wrt range truncation copied from ppc32. Where it had ever
been needed only in case of copy_from_user() *and* had not been merged
into the mainline until a month after the need had disappeared.
A decade before openrisc went into mainline, I might add...
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc/include/asm/uaccess.h')
0 files changed, 0 insertions, 0 deletions