Function report

linux kernel

5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2020-09-18 20:21:25
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload PLEAChinese

Name:sys_rt_sigaction - alter an action taken by a process

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

Type:

Parameter:Nothing

4237  If sigsetsize != sizeof(sigset_t) Then Return -Invalid argument
4240  If act && copy_from_user( & sa, act, size of sa ) Then Return -Bad address
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 -Bad address
4250  Return 0