Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__probe_user_write

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

Type:long

Parameter:

TypeParameterName
void __user *dst
const void *src
size_tsize
141  ret = -EFAULT
142  old_fs = get_fs()
144  set_fs(USER_DS)
145  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.(dst, size) Then ret = probe_write_common(dst, src, size)
147  set_fs(old_fs)
149  Return ret