(ptrace) [PTRACE_TRACEME]: Notify the proc server that we are now
authormib <mib>
Wed, 8 Nov 1995 20:12:30 +0000 (20:12 +0000)
committermib <mib>
Wed, 8 Nov 1995 20:12:30 +0000 (20:12 +0000)
traced.

sysdeps/mach/hurd/ptrace.c

index 3d85587..90fd764 100644 (file)
@@ -94,6 +94,7 @@ ptrace (enum __ptrace_request request, ... )
     case PTRACE_TRACEME:
       /* Make this process be traced.  */
       _hurd_exec_flags |= EXEC_TRACED;
+      __USEPORT (PROC, __proc_mark_traced (port));
       break;
 
     case PTRACE_CONT: