Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:copy_stack_frame

Proto:static int copy_stack_frame(const void __user *fp, struct stack_frame_user *frame)

Type:int

Parameter:

TypeParameterName
const void __user *fp
struct stack_frame_user *frame
103  If __range_not_ok(fp, size of frame , TASK_SIZE) Then Return 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  If 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 and Then ret = 0
110  pagefault_enable()
112  Return ret
Caller
NameDescribe
arch_stack_walk_user