Function report |
Source Code:arch\x86\kernel\ptrace.c |
Create Date:2022-07-28 07:51:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_segment_reg
Proto:static u16 get_segment_reg(struct task_struct *task, unsigned long offset)
Type:u16
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | task | |
| unsigned long | offset |
| 171 | If offset != offsetof(structuser_regs_struct, gs) Then retval = pt_regs_access(task_pt_regs(task), offset) |
| 173 | Else |
| 174 | If task == current process Then retval = x86-32 user GS accessors:(task_pt_regs(task)) |
| 176 | Else retval = task_user_gs(task) |
| 179 | Return retval |
| Name | Describe |
|---|---|
| getreg |
| 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 |