Function report | 
Source Code:kernel\ptrace.c | 
Create Date:2022-07-28 09:13:47 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:COMPAT_SYSCALL_DEFINE4
Proto:COMPAT_SYSCALL_DEFINE4(ptrace, compat_long_t, request, compat_long_t, pid, compat_long_t, addr, compat_long_t, data)
Type:
Parameter:Nothing
| 1395 | If (request == structs and defines to help the user use the ptrace system call. ) Then | 
| 1396 | ret = ptrace_traceme -- helper for PTRACE_TRACEME* Performs checks and sets PT_PTRACED.* Should be used by all ptrace implementations for PTRACE_TRACEME. | 
| 1397 | Go to out | 
| 1401 | If Not child Then | 
| 1406 | If (request == PTRACE_ATTACH || request == PTRACE_SEIZE) Then | 
| 1412 | If Not ret Then arch_ptrace_attach(child) | 
| 1414 | Go to out_put_task_struct | 
| 1419 | If Not ret Then | 
| 1421 | If (ret || request != PTRACE_DETACH) Then ptrace_unfreeze_traced(child) | 
| 1425 | out_put_task_struct : | 
| 1426 | put_task_struct(child) | 
| 1427 | out : | 
| 1428 | Return ret | 
| 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  |