Function report

linux kernel

5.5.9

Brick Technologies Co., Ltd

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

Name:COMPAT_SYSCALL_DEFINE4

Proto:COMPAT_SYSCALL_DEFINE4(rt_sigprocmask, int, how, compat_sigset_t *, nset, compat_sigset_t *, oset, compat_size_t, sigsetsize)

Type:

Parameter:Nothing

3044  old_set = blocked
3047  If sigsetsize != sizeof(sigset_t) Then Return -Invalid argument
3050  If nset Then
3053  If get_compat_sigset( & new_set, nset) Then Return -Bad address
3055  sigdelsetmask( & new_set, sigmask(SIGKILL) | sigmask(SIGSTOP))
3057  error = This is also useful for kernel threads that want to temporarily * (or permanently) block certain signals
3058  If error Then Return error
3061  Return If oset Then Defined inline such that size can be compile time constant, which avoids * CONFIG_HARDENED_USERCOPY complaining about copies from task_struct Else 0