Function report |
Source Code:arch\x86\kernel\signal.c |
Create Date:2022-07-28 07:30:35 |
| Last Modify:2022-05-22 06:23:02 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:restore_sigcontext
Proto:static int restore_sigcontext(struct pt_regs *regs, struct sigcontext_64 __user *sc, unsigned long uc_flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pt_regs * | regs | |
| struct sigcontext_64 __user * | sc | |
| unsigned long | uc_flags |
| 104 | err = 0 |
| 107 | fn = do_no_restart_syscall |
| 112 | set_user_gs(regs, GET_SEG(gs)) |
| 132 | COPY_SEG_CPL3(cs) |
| 133 | COPY_SEG_CPL3(ss) |
| 135 | get_user_ex(tmpflags, & flags) |
| 136 | flags = flags & ~FIX_EFLAGS | tmpflags & FIX_EFLAGS |
| 137 | orig_ax = -1 |
| 141 | get_user_catch(err) |
| 156 | Return err |
| Name | Describe |
|---|---|
| sys_sigreturn | |
| sys_rt_sigreturn |
| 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 |