diff options
author | Muhammad Falak R Wani | 2016-05-20 14:18:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-08-31 13:18:10 +0200 |
commit | 655745b0d1ebeceb0453f1c6adca154a4fac0ad5 (patch) | |
tree | 038d825baf87f9f7a7845c52e3203aa2d0ef41fc /include/linux/elf.h | |
parent | mcb: remove sub-device handling code (diff) | |
download | kernel-qcow2-linux-655745b0d1ebeceb0453f1c6adca154a4fac0ad5.tar.gz kernel-qcow2-linux-655745b0d1ebeceb0453f1c6adca154a4fac0ad5.tar.xz kernel-qcow2-linux-655745b0d1ebeceb0453f1c6adca154a4fac0ad5.zip |
VMCI: use memdup_user().
Use memdup_user to duplicate a memory region from user-space to
kernel-space, instead of open coding using kmalloc & copy_from_user.
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/elf.h')
0 files changed, 0 insertions, 0 deletions