Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:user_disable_single_step

Proto:void user_disable_single_step(struct task_struct *child)

Type:void

Parameter:

TypeParameterName
struct task_struct *child
228  If test_tsk_thread_flag(child, set when we want DEBUGCTLMSR_BTF ) Then set_task_blockstep(child, false)
232  clear_tsk_thread_flag(child, able singlestep on user return)
235  If test_and_clear_tsk_thread_flag(child, rue if TF in eflags artificially ) Then ({
236  __ptr = pointer of stack
236  __ptr += ( 1UL << 12 << 2 + 1 ) - 8
236  __ptr - 1
236  })->flags &= ~X86_EFLAGS_TF
Caller
NameDescribe
ptrace_disableCalled by kernel/ptrace.c when detaching..* Make sure the single step bit is not set.
ptrace_resume