函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rseq.c Create Date:2022-07-27 15:12:46
Last Modify:2022-05-20 08:09:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This resume handler must always be executed between any of:* - preemption,* - signal delivery,* and return to user-space

函数原型:void __rseq_handle_notify_resume(struct ksignal *ksig, struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct ksignal *ksig
struct pt_regs *regs
264  t等于当前进程
267  如果此条件成立可能性小(为编译器优化)(任务标志 & Getting shut down )则返回
269  如果此条件成立可能性小(为编译器优化)(!access_ok - Checks if a user space pointer is valid*@addr: User space pointer to start of block to check*@size: Size of block to check* Context: User context only. This function may sleep if pagefaults are* enabled.(rseq, rseq的长度))则转到:error
271  ret等于rseq_ip_fixup(regs)
272  如果此条件成立可能性小(为编译器优化)(ret < 0)则转到:error
274  如果此条件成立可能性小(为编译器优化)(Restartable sequences are a lightweight interface that allows* user-level code to be executed atomically relative to scheduler* preemption and signal delivery)则转到:error
276  返回
278  error :
279  sig等于如果ksigsig否则0
280  When things go south during signal handling, we* will force a SIGSEGV. And if the signal that caused* the problem was already a SIGSEGV, we'll want to* make sure we don't even try to deliver the signal..