memdup_user (9) - Linux Man Pages

memdup_user: duplicate memory region from user space

NAME

memdup_user - duplicate memory region from user space

SYNOPSIS

void * memdup_user(const void __user src, size_t len);

ARGUMENTS

src

source address in user space

len

number of bytes to copy

DESCRIPTION

Returns an ERR_PTR on failure.

COPYRIGHT