Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Called after single-stepping. To avoid the SMP problems that can* occur when we temporarily put back the original opcode to* single-step, we single-stepped a copy of the instruction.* This function prepares to resume execution after the single-step.

Proto:int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct arch_uprobe *auprobe
struct pt_regs *regs
961  utask = utask
962  send_sigtrap = saved_tf
963  err = 0
965  WARN_ON_ONCE(trap_nr != UPROBE_TRAP_NR)
966  trap_nr = saved_trap_nr
968  If post_xol Then
969  err = post_xol(auprobe, regs)
970  If err Then
977  If err == -ERESTART Then err = 0
979  send_sigtrap = false
987  If send_sigtrap Then send_sig(SIGTRAP, current process, 0)
990  If Not saved_tf Then flags &= ~X86_EFLAGS_TF
993  Return err