Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return the address of the last usable long on the stack.* When the stack grows down, this is just above the thread* info struct. Going any lower will corrupt the threadinfo.* When the stack grows up, this is the highest address.

Proto:static inline unsigned long *end_of_stack(struct task_struct *p)

Type:unsigned long

Parameter:

TypeParameterName
struct task_struct *p
55  Return task_thread_info(p) + 1
Caller
NameDescribe
set_task_stack_end_magic
stackleak_erase
get_address_stack_frame_info