Function report |
Source Code:kernel\signal.c |
Create Date:2022-07-28 09:18:02 |
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:COMPAT_SYSCALL_DEFINE4
Proto:COMPAT_SYSCALL_DEFINE4(rt_sigaction, int, sig, const struct compat_sigaction __user *, act, struct compat_sigaction __user *, oact, compat_size_t, sigsetsize)
Type:
Parameter:Nothing
| 4265 | If sigsetsize != sizeof(compat_sigset_t) Then Return -EINVAL |
| 4268 | If act Then |
| 4273 | ret |= Get a simple variable from user space(restorer, & sa_restorer) |
| 4276 | ret |= get_compat_sigset( & mask last for extensibility , & sa_mask) |
| 4277 | ret |= Get a simple variable from user space(sa_flags, & sa_flags) |
| 4286 | ret |= Defined inline such that size can be compile time constant, which avoids* CONFIG_HARDENED_USERCOPY complaining about copies from task_struct |
| 4288 | ret |= Write a simple value into user space(sa_flags, & sa_flags) |
| 4294 | 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 |