diff options
| author | Al Viro <[email protected]> | 2015-03-21 23:56:16 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2015-04-09 04:02:34 +0000 |
| commit | 6aa248145ab0b1809de2411cf129ec1fc315a46f (patch) | |
| tree | 264f1d52216a267aea823443e728771c9a35a400 /security/selinux/hooks.c | |
| parent | net: switch importing msghdr from userland to {compat_,}import_iovec() (diff) | |
| download | kernel-6aa248145ab0b1809de2411cf129ec1fc315a46f.tar.gz kernel-6aa248145ab0b1809de2411cf129ec1fc315a46f.zip | |
switch kernel_sendmsg() and kernel_recvmsg() to iov_iter_kvec()
For kernel_sendmsg() that eliminates the need to play with setfs();
for kernel_recvmsg() it does *not* - a couple of callers are using
it with non-NULL ->msg_control, which would be treated as userland
address on recvmsg side of things.
In all cases we are really setting a kvec-backed iov_iter, though.
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
