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:54
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_str

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

Type:u64

Parameter:

TypeParameterName
void *dst
u32size
const void *unsafe_ptr
164  ret = strncpy_from_unsafe_user(dst, unsafe_ptr, size)
166  If Value for the false possibility is greater at compile time(ret < 0) Then memset(dst, 0, size)
169  Return ret