Function report |
Source Code:include\linux\tracehook.h |
Create Date:2022-07-28 07:30:08 |
| Last Modify:2020-03-16 18:56:00 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ptrace report for syscall entry and exit looks identical.
Proto:static inline int ptrace_report_syscall(struct pt_regs *regs, unsigned long message)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pt_regs * | regs | |
| unsigned long | message |
| 62 | If Not (ptrace & PT_PTRACED) Then Return 0 |
| 65 | ptrace_message = message |
| 66 | ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0)) |
| 73 | If exit_code Then |
| 74 | send_sig(exit_code, current process, 1) |
| 75 | exit_code = 0 |
| 78 | ptrace_message = 0 |
| 79 | Return fatal_signal_pending(current process) |
| 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 |