Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rseq.c Create Date:2022-07-28 13:50:51
Last Modify:2022-05-20 08:09:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rseq_ip_fixup

Proto:static int rseq_ip_fixup(struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct pt_regs *regs
223  ip = instruction_pointer(regs)
224  t = current process
228  ret = rseq_get_rseq_cs(t, & rseq_cs)
229  If ret Then Return ret
237  If Not Unsigned comparison will be true when ip >= start_ip, and when* ip < start_ip + post_commit_offset. Then Return clear_rseq_cs(t)
239  ret = rseq_need_restart(t, um rseq_cs_flags )
240  If ret <= 0 Then Return ret
242  ret = clear_rseq_cs(t)
243  If ret Then Return ret
245  trace_rseq_ip_fixup(ip, start_ip, Offset from start_ip. , abort_ip)
247  instruction_pointer_set(regs, (unsignedlong)abort_ip)
248  Return 0
Caller
NameDescribe
__rseq_handle_notify_resumeThis resume handler must always be executed between any of:* - preemption,* - signal delivery,* and return to user-space