Function report | 
Source Code:kernel\ptrace.c | 
Create Date:2022-07-28 09:13:18 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ptrace_traceme -- helper for PTRACE_TRACEME* Performs checks and sets PT_PTRACED.* Should be used by all ptrace implementations for PTRACE_TRACEME.
Proto:static int ptrace_traceme(void)
Type:int
Parameter:Nothing
| 477 | write_lock_irq( & tasklist_lock) | 
| 479 | If Not ptrace Then | 
| 480 | ret = security_ptrace_traceme(parent) | 
| 486 | If Not ret && Not (flags & Getting shut down ) Then | 
| 491 | write_unlock_irq( & tasklist_lock) | 
| 493 | Return ret | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE4 | |
| COMPAT_SYSCALL_DEFINE4 | 
| 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  |