summaryrefslogtreecommitdiff
path: root/detect/gdb.c
diff options
context:
space:
mode:
authorjvoisin2013-06-26 15:12:29 +0200
committerjvoisin2013-06-26 15:12:29 +0200
commitb77723029823706d01e42a39e0f4035262db05c4 (patch)
tree5ea7ea3e1552e4ec01c5c6750e73911219f25fed /detect/gdb.c
parentb3d624076cc536803c73c48cc543bfb6b5ef94d2 (diff)
Detach ptrace
Diffstat (limited to 'detect/gdb.c')
-rw-r--r--detect/gdb.c2
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(){
48int dbg_ptrace(){ 48int 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