]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(ptrace) [PTRACE_TRACEME]: Notify the proc server that we are now traced.
authorThomas Bushnell, BSG <thomas@gnu.org>
Wed, 8 Nov 1995 20:12:30 +0000 (20:12 +0000)
committerThomas Bushnell, BSG <thomas@gnu.org>
Wed, 8 Nov 1995 20:12:30 +0000 (20:12 +0000)
sysdeps/mach/hurd/ptrace.c

index 3d8558734f35b353edf4366ed8b320c2180d46a6..90fd7649ee84b8bf1490c7f86ff9c3517f877700 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: