函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\signal.c Create Date:2022-07-27 08:30:03
Last Modify:2022-05-22 06:23:02 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sys_rt_sigreturn

函数原型:__attribute__((regparm(0))) long sys_rt_sigreturn(void)

返回类型:long

参数:

642  regs等于current_pt_regs()
643  __userframe
647  frame__user等于spsizeof(long)
648  如果非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.(frame, frame的长度)则转到:badframe
650  如果__copy_from_user( & set, & mask last for extensibility , set的长度)则转到:badframe
652  如果__get_user - Get a simple variable from user space, with less checking(uc_flags, & uc_flags)则转到:badframe
655  set_current_blocked( & set)
657  如果restore_sigcontext(regs, & uc_mcontext, uc_flags)则转到:badframe
660  如果restore_altstack( & uc_stack)则转到:badframe
663  返回:ax
665  badframe :
666  signal_fault(regs, frame, "rt_sigreturn")
667  返回:0