Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-28 09:17:59
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:SYSCALL_DEFINE4(rt_sigaction, int, sig, const struct sigaction __user *, act, struct sigaction __user *, oact, size_t, sigsetsize)

Type:

Parameter:Nothing

4237  If sigsetsize != sizeof(sigset_t) Then Return -EINVAL
4240  If act && copy_from_user( & sa, act, size of sa ) Then Return -EFAULT
4243  ret = do_sigaction(sig, act ? & new_sa : NULL, oact ? & old_sa : NULL)
4244  If ret Then Return ret
4247  If oact && copy_to_user(oact, & sa, size of sa ) Then Return -EFAULT
4250  Return 0