Function report |
Source Code:arch\x86\kernel\signal.c |
Create Date:2022-07-28 07:30:42 |
Last Modify:2022-05-22 06:23:02 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__setup_frame
Proto:static int __setup_frame(int sig, struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | sig | |
struct ksignal * | ksig | |
sigset_t * | set | |
struct pt_regs * | regs |
317 | err = 0 |
325 | If Write a simple value into user space, with less checking(sig, & sig) Then Return -EFAULT |
331 | If _NSIG_WORDS > 1 Then |
332 | If __copy_to_user( & extramask, & sig[1], size of extramask ) Then Return -EFAULT |
337 | If vdso Then restorer = vdso + sym___kernel_sigreturn |
342 | If sa_flags & SA_RESTORER Then restorer = sa_restorer |
355 | err |= Write a simple value into user space, with less checking( * ((u64 * ) & retcode), (u64 * )retcode) |
362 | ip = sa_handler |
364 | dx = 0 |
365 | cx = 0 |
372 | 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 |