new primitive: vmemdup_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 7 Jan 2018 18:06:15 +0000 (13:06 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 7 Jan 2018 18:06:15 +0000 (13:06 -0500)
commit50fd2f298bef9d1f69ac755f1fdf70cd98746be2
treeb7c3dd1d018f7f754d15dc793e4120d0f0c8f007
parent6c2c97a24f096e3239bc54029b808c6bcba4f358
new primitive: vmemdup_user()

similar to memdup_user(), but does *not* guarantee that result will
be physically contiguous; use only in cases where that's not a requirement
and free it with kvfree().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/string.h
mm/util.c