Function report |
Source Code:kernel\ptrace.c |
Create Date:2022-07-28 09:13:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ptrace_setoptions
Proto:static int ptrace_setoptions(struct task_struct *child, unsigned long data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | child | |
| unsigned long | data |
| 649 | If data & ~PTRACE_O_MASK Then Return -EINVAL |
| 657 | If Not Check operation authority Then Return -EPERM |
| 660 | If seccomp_mode( & seccomp) != seccomp is not in use. || ptrace & PT_SUSPEND_SECCOMP Then Return -EPERM |
| 667 | flags &= ~(PTRACE_O_MASK << PT_OPT_FLAG_SHIFT) |
| 668 | flags |= data << PT_OPT_FLAG_SHIFT |
| 671 | Return 0 |
| Name | Describe |
|---|---|
| ptrace_request |
| 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 |