函数逻辑报告

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

函数名称:sys_rt_sigprocmask - change the list of currently blocked signals

函数原型:SYSCALL_DEFINE4(rt_sigprocmask, int, how, sigset_t *, nset, sigset_t *, oset, size_t, sigsetsize)

返回类型:

参数:

3017  如果sigsetsize不等于sizeof(sigset_t)则返回:负无效的函数自变量
3020  old_set等于blocked
3022  如果nset
3023  如果copy_from_user( & new_set, nset, sizeof(sigset_t))则返回:负错误的地址
3025  sigdelsetmask( & new_set, sigmask(SIGKILL) | sigmask(SIGSTOP))
3027  error等于This is also useful for kernel threads that want to temporarily * (or permanently) block certain signals
3028  如果error则返回:error
3032  如果oset
3033  如果copy_to_user(oset, & old_set, sizeof(sigset_t))则返回:负错误的地址
3037  返回:0