aboutsummaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-06-29 22:25:14 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-07-07 05:18:09 -0400
commit09fc68dc66f7597bdc8898c991609a48f061bed5 (patch)
treeae0af5ee4b37d0133ed57c0c6f5e625430221ff5 /.get_maintainer.ignore
parentiov_iter: sanity checks for copy to/from page primitives (diff)
downloadlinux-dev-09fc68dc66f7597bdc8898c991609a48f061bed5.tar.xz
linux-dev-09fc68dc66f7597bdc8898c991609a48f061bed5.zip
iov_iter: saner checks on copyin/copyout
* might_fault() is better checked in caller (and e.g. fault-in + kmap_atomic codepath also needs might_fault() coverage) * we have already done object size checks * we have *NOT* done access_ok() recently enough; we rely upon the iovec array having passed sanity checks back when it had been created and not nothing having buggered it since. However, that's very much non-local, so we'd better recheck that. So the thing we want does not match anything in uaccess - we need access_ok + kasan checks + raw copy without any zeroing. Just define such helpers and use them here. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions