iov_iter/hardening: move object size checks to inlined part
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 30 Jun 2017 01:45:10 +0000 (21:45 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 30 Jun 2017 02:21:22 +0000 (22:21 -0400)
commitaa28de275a248879f9828cb9f7ee7e119c72ff96
treeea50dff24c17d06ed9a799b38e8089996c3ccff2
parentb0377fedb6528087ed319b0d054d6ed82240372c
iov_iter/hardening: move object size checks to inlined part

There we actually have useful information about object sizes.
Note: this patch has them done for all iov_iter flavours.
Right now we do them twice in iovec case, but that'll change
very shortly.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/uio.h
lib/iov_iter.c