Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\uaccess.h Create Date:2022-07-28 05:59:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__copy_from_user

Proto:static __always_inline __must_check unsigned long __copy_from_user(void *to, const void __user *from, unsigned long n)

Type:unsigned long

Parameter:

TypeParameterName
void *to
const void __user *from
unsigned longn
69  might_fault()
70  kasan_check_write(to, n)
71  check_object_size(to, n, false)
72  Return raw_copy_from_user(to, from, n)
Caller
NameDescribe
copy_user_test
csum_partial_copy_from_userpy from fs while checksumming, otherwise like csum_partial
sys_sigreturn
sys_rt_sigreturn
check_for_xstateCheck for the presence of extended state information in the* user fpstate pointer in the sigcontext.
__fpu__restore_sig
copy_user_to_xstateConvert from a ptrace or sigreturn standard-format user-space buffer to* kernel XSAVES format and copy to the target thread. This is called from* xstateregs_set(), as well as potentially from the sigreturn() and* rt_sigreturn() system calls.
regset_tls_set