User Space Memory Access

Table of Contents

access_ok - Checks if a user space pointer is valid
get_user - Get a simple variable from user space.
put_user - Write a simple value into user space.
__get_user - Get a simple variable from user space, with less checking.
__put_user - Write a simple value into user space, with less checking.
__copy_to_user_inatomic - Copy a block of data into user space, with less checking.
__copy_to_user - Copy a block of data into user space, with less checking.
__copy_from_user - Copy a block of data from user space, with less checking.
strlen_user - Get the size of a string in user space.
__strncpy_from_user - Copy a NUL terminated string from userspace, with less checking.
strncpy_from_user - Copy a NUL terminated string from userspace.
clear_user - Zero a block of memory in user space.
__clear_user - Zero a block of memory in user space, with less checking.
strnlen_user - Get the size of a string in user space.
copy_to_user - Copy a block of data into user space.
copy_from_user - Copy a block of data from user space.