Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__probe_user_read

Proto:long __probe_user_read(void *dst, const void __user *src, size_t size)

Type:long

Parameter:

TypeParameterName
void *dst
const void __user *src
size_tsize
88  ret = -EFAULT
89  old_fs = get_fs()
91  set_fs(USER_DS)
92  If access_ok - Checks if a user space pointer is valid*@addr: User space pointer to start of block to check*@size: Size of block to check* Context: User context only. This function may sleep if pagefaults are* enabled.(src, size) Then ret = probe_read_common(dst, src, size)
94  set_fs(old_fs)
96  Return ret