Function report | 
Source Code:kernel\signal.c | 
Create Date:2022-07-28 09:16:12 | 
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:The usb asyncio usage of siginfo is wrong
Proto:int kill_pid_usb_asyncio(int sig, int errno, sigval_t addr, struct pid *pid, const struct cred *cred)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | sig | |
| int | errno | |
| sigval_t | addr | |
| struct pid * | pid | |
| const struct cred * | cred | 
| 1508 | clear_siginfo( & info) | 
| 1511 | si_code = sent by AIO completion | 
| 1514 | If Not Test if 'sig' is valid signal. Use this instead of testing _NSIG directly Then Return ret | 
| 1518 | p = pid_task(pid, PIDTYPE_PID) | 
| 1519 | If Not p Then | 
| 1521 | Go to out_unlock | 
| 1523 | If Not kill_as_cred_perm(cred, p) Then | 
| 1525 | Go to out_unlock | 
| 1528 | If ret Then Go to out_unlock | 
| 1531 | If sig Then | 
| 1532 | If lock_task_sighand(p, & flags) Then | 
| 1533 | ret = __send_signal(sig, & info, p, PIDTYPE_TGID, false) | 
| 1534 | unlock_task_sighand(p, & flags) | 
| 1538 | out_unlock : | 
| 1540 | Return ret | 
| 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  |