Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-28 08:57:52
Last Modify:2020-03-17 11:04:53 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_task_stack_end_magic

Proto:void set_task_stack_end_magic(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
855  stackend = 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.
856  stackend = STACK_END_MAGIC
Caller
NameDescribe
dup_task_structReplication process and set stack