#include <linux/export.h>
#include <linux/mm.h>
#include <linux/uaccess.h>
Go to the source code of this file.
probe_kernel_read(): safely attempt to read from a location : pointer to the buffer that shall take the data : address to read from : size of the data chunk
Safely read from address to the buffer at . If a kernel fault happens, handle that and return -EFAULT.
Definition at line 19 of file maccess.c.
probe_kernel_write(): safely attempt to write to a location : address to write to : pointer to the data that shall be written : size of the data chunk
Safely write to address from the buffer at . If a kernel fault happens, handle that and return -EFAULT.
Definition at line 58 of file maccess.c.