Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\bpf_trace.c Create Date:2022-07-28 12:34:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:____bpf_probe_read_user

Proto:static inline __attribute__((__always_inline__)) u64 ____bpf_probe_read_user(void *dst, u32 size, const void *unsafe_ptr)

Type:u64

Parameter:

TypeParameterName
void *dst
u32size
const void *unsafe_ptr
144  ret = probe_user_read(): safely attempt to read from a location in user space*@dst: pointer to the buffer that shall take the data*@src: address to read from*@size: size of the data chunk* Safely read from address @src to the buffer at @dst. If a kernel fault
146  If Value for the false possibility is greater at compile time(ret < 0) Then memset(dst, 0, size)
149  Return ret