函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\stacktrace.c Create Date:2022-07-27 08:53:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:copy_stack_frame

函数原型:static int copy_stack_frame(const void __user *fp, struct stack_frame_user *frame)

返回类型:int

参数:

类型参数名称
const void __user *fp
struct stack_frame_user *frame
103  如果__range_not_ok(fp, frame的长度, TASK_SIZE)则返回:0
106  ret等于1
107  These routines enable/disable the pagefault handler. If disabled, it will* not take any locks and go straight to the fixup table.* User access methods will not sleep when called from a pagefault_disabled()* environment.
108  如果Architectures should provide two primitives (raw_copy_{to,from}_user())* and get rid of their private instances of copy_{to,from}_user() and* __copy_{to,from}_user{,_inatomic}().* raw_copy_{to,from}_user(to, from, size) should copy up to size bytes andret等于0
110  pagefault_enable()
112  返回:ret
调用者
名称描述
arch_stack_walk_user