Function report | 
Source Code:kernel\signal.c | 
Create Date:2022-07-28 09:17:57 | 
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:sys_sigprocmask - examine and change blocked signals*@how: whether to add, remove, or set signals*@nset: signals to add or remove (if non-null)*@oset: previous value of signal mask if non-null* Some platforms have their own version with special arguments;
Proto:SYSCALL_DEFINE3(sigprocmask, int, how, old_sigset_t __user *, nset, old_sigset_t __user *, oset)
Type:
Parameter:Nothing
| 4188 | If nset Then | 
| 4189 | If copy_from_user( & new_set, nset, size of nset ) Then Return -EFAULT | 
| 4192 | new_blocked = blocked | 
| 4195 | Case how == r blocking signals | 
| 4198 | Case how == r unblocking signals | 
| 4199 | sigdelsetmask( & new_blocked, new_set) | 
| 4200 | Break | 
| 4201 | Case how == r setting the signal mask | 
| 4204 | Default | 
| 4205 | Return -EINVAL | 
| 4211 | If oset Then | 
| 4212 | If copy_to_user(oset, & old_set, size of oset ) Then Return -EFAULT | 
| 4216 | Return 0 | 
| 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  |