Function report |
Source Code:kernel\signal.c |
Create Date:2022-07-28 09:16:58 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This is also useful for kernel threads that want to temporarily* (or permanently) block certain signals.* NOTE! Unlike the user-mode sys_sigprocmask(), the kernel* interface happily blocks "unblockable" signals like SIGKILL* and friends.
Proto:int sigprocmask(int how, sigset_t *set, sigset_t *oldset)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | how | |
sigset_t * | set | |
sigset_t * | oldset |
2929 | tsk = current process |
2937 | Case how == r blocking signals |
2940 | Case how == r unblocking signals |
2941 | sigandnsets( & newset, & blocked, set) |
2942 | Break |
2943 | Case how == r setting the signal mask |
2946 | Default |
2947 | Return -EINVAL |
2950 | __set_current_blocked( & newset) |
2951 | Return 0 |
Name | Describe |
---|---|
SYSCALL_DEFINE4 | sys_rt_sigprocmask - change the list of currently blocked signals*@how: whether to add, remove, or set signals*@nset: stores pending signals*@oset: previous value of signal mask if non-null*@sigsetsize: size of sigset_t type |
COMPAT_SYSCALL_DEFINE4 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |