函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\uaccess.h Create Date:2022-07-27 06:58:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__copy_to_user

函数原型:static __always_inline __must_check unsigned long __copy_to_user(void __user *to, const void *from, unsigned long n)

返回类型:unsigned long

参数:

类型参数名称
void __user *to
const void *from
unsigned longn
99  might_fault()
100  kasan_check_read(from, n)
101  check_object_size(from, n, true)
102  返回:raw_copy_to_user(to, from, n)
调用者
名称描述
copy_user_test
__setup_frame
__setup_rt_frame
save_fsave_headerSignal frame handlers.
save_xstate_epilog
__copy_xstate_to_user
regset_tls_get
fillonedir
compat_fillonedir
set_fd_set
create_elf_tables
create_elf_fdpic_tablespresent useful information to the program by shovelling it onto the new* process's stack
user_regset_copyoutThese are helpers for writing regset get/set functions in arch code