Function report |
Source Code:kernel\signal.c |
Create Date:2022-07-28 09:17:17 |
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_siginfo_to_user32
Proto:int copy_siginfo_to_user32(struct compat_siginfo __user *to, const struct kernel_siginfo *from)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct compat_siginfo __user * | to | |
| const struct kernel_siginfo * | from |
| 3250 | Case siginfo_layout(si_signo, si_code) == SIL_KILL |
| 3254 | Case siginfo_layout(si_signo, si_code) == SIL_TIMER |
| 3259 | Case siginfo_layout(si_signo, si_code) == SIL_POLL |
| 3263 | Case siginfo_layout(si_signo, si_code) == SIL_FAULT |
| 3264 | si_addr = ptr_to_compat(si_addr) |
| 3268 | Break |
| 3269 | Case siginfo_layout(si_signo, si_code) == SIL_FAULT_MCEERR |
| 3276 | Case siginfo_layout(si_signo, si_code) == SIL_FAULT_BNDERR |
| 3277 | si_addr = ptr_to_compat(si_addr) |
| 3281 | si_lower = ptr_to_compat(si_lower) |
| 3282 | si_upper = ptr_to_compat(si_upper) |
| 3283 | Break |
| 3284 | Case siginfo_layout(si_signo, si_code) == SIL_FAULT_PKUERR |
| 3291 | Case siginfo_layout(si_signo, si_code) == SIL_CHLD |
| 3305 | Break |
| 3306 | Case siginfo_layout(si_signo, si_code) == SIL_RT |
| 3311 | Case siginfo_layout(si_signo, si_code) == SIL_SYS |
| 3318 | If copy_to_user(to, & new, sizeof(structcompat_siginfo)) Then Return -EFAULT |
| 3321 | Return 0 |
| Name | Describe |
|---|---|
| compat_ptrace_request |
| 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 |