函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:17:55
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sys_rt_sigaction - alter an action taken by a process*@sig: signal to be sent*@act: new sigaction*@oact: used to save the previous sigaction*@sigsetsize: size of sigset_t type

函数原型:SYSCALL_DEFINE4(rt_sigaction, int, sig, const struct sigaction __user *, act, struct sigaction __user *, oact, size_t, sigsetsize)

返回类型:

参数:

4237  如果sigsetsize不等于sizeof(sigset_t)则返回:负EINVAL
4240  如果actcopy_from_user( & sa, act, sa的长度)则返回:负EFAULT
4243  ret等于信号处理
4244  如果ret则返回:ret
4247  如果oactcopy_to_user(oact, & sa, sa的长度)则返回:负EFAULT
4250  返回:0