Function report |
Source Code:fs\signalfd.c |
Create Date:2022-07-28 20:19:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Copied from copy_siginfo_to_user() in kernel/signal.c
Proto:static int signalfd_copyinfo(struct signalfd_siginfo __user *uinfo, kernel_siginfo_t const *kinfo)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct signalfd_siginfo __user * | uinfo | |
kernel_siginfo_t const * | kinfo |
86 | BUILD_BUG_ON - break compile if a condition is true(sizeof(structsignalfd_siginfo) != 128) |
101 | Case siginfo_layout(si_signo, si_code) == SIL_KILL |
105 | Case siginfo_layout(si_signo, si_code) == SIL_TIMER |
107 | ssi_overrun = si_overrun |
110 | Break |
111 | Case siginfo_layout(si_signo, si_code) == SIL_POLL |
115 | Case siginfo_layout(si_signo, si_code) == SIL_FAULT_BNDERR |
116 | Case siginfo_layout(si_signo, si_code) == SIL_FAULT_PKUERR |
124 | Case siginfo_layout(si_signo, si_code) == SIL_FAULT |
130 | Case siginfo_layout(si_signo, si_code) == SIL_FAULT_MCEERR |
137 | Case siginfo_layout(si_signo, si_code) == SIL_CHLD |
140 | ssi_status = si_status |
143 | Break |
144 | Case siginfo_layout(si_signo, si_code) == SIL_RT |
153 | Case siginfo_layout(si_signo, si_code) == SIL_SYS |
160 | If copy_to_user(uinfo, & new, sizeof(structsignalfd_siginfo)) Then Return -EFAULT |
163 | Return size of uinfo |
Name | Describe |
---|---|
signalfd_read | Returns a multiple of the size of a "struct signalfd_siginfo", or a negative* error code. The "count" parameter must be at least the size of a* "struct signalfd_siginfo". |
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 |