diff options
| author | jvoisin | 2013-06-26 15:12:29 +0200 |
|---|---|---|
| committer | jvoisin | 2013-06-26 15:12:29 +0200 |
| commit | b77723029823706d01e42a39e0f4035262db05c4 (patch) | |
| tree | 5ea7ea3e1552e4ec01c5c6750e73911219f25fed /detect/gdb.c | |
| parent | b3d624076cc536803c73c48cc543bfb6b5ef94d2 (diff) | |
Detach ptrace
Diffstat (limited to 'detect/gdb.c')
| -rw-r--r-- | detect/gdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/detect/gdb.c b/detect/gdb.c index 53a0311..fd0dacd 100644 --- a/detect/gdb.c +++ b/detect/gdb.c | |||
| @@ -48,7 +48,7 @@ int dbg_cmdline(){ | |||
| 48 | int dbg_ptrace(){ | 48 | int dbg_ptrace(){ |
| 49 | if(ptrace(PTRACE_TRACEME, 0, 0, 0) == -1) | 49 | if(ptrace(PTRACE_TRACEME, 0, 0, 0) == -1) |
| 50 | return 1; | 50 | return 1; |
| 51 | //TODO : detach ptrace | 51 | ptrace(PTRACE_DETACH, 0, 0, 0); |
| 52 | return 0; | 52 | return 0; |
| 53 | } | 53 | } |
| 54 | 54 | ||
