Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_flags

Proto:static unsigned long get_flags(struct task_struct *task)

Type:unsigned long

Parameter:

TypeParameterName
struct task_struct *task
334  unsigned long retval = ({
334  __ptr = pointer of stack
334  __ptr += ( 1UL << 12 << 2 + 1 ) - 8
334  __ptr - 1
334  })->flags
339  If test_tsk_thread_flag(task, rue if TF in eflags artificially ) Then retval &= ~X86_EFLAGS_TF
342  Return retval
Caller
NameDescribe
getreg