函数逻辑报告

linux kernel

5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2020-09-18 12:18:34
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载PLEAEnglish

函数名称:COMPAT_SYSCALL_DEFINE4

函数原型:COMPAT_SYSCALL_DEFINE4(rt_sigprocmask, int, how, compat_sigset_t *, nset, compat_sigset_t *, oset, compat_size_t, sigsetsize)

返回类型:

参数:

3044  old_set等于blocked
3047  如果sigsetsize不等于sizeof(sigset_t)则返回:负无效的函数自变量
3050  如果nset
3053  如果get_compat_sigset( & new_set, nset)则返回:负错误的地址
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  如果error则返回:error
3061  返回:如果osetDefined inline such that size can be compile time constant, which avoids * CONFIG_HARDENED_USERCOPY complaining about copies from task_struct否则0