about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1995-11-08 20:12:30 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1995-11-08 20:12:30 +0000
commitf535a036af4f875145e9f83f2b2e801d290741ad (patch)
tree556acf6f783495d853d2dd99f795805202d38805 /sysdeps
parent094bacdbd84627791b82db46b095558f34c36831 (diff)
downloadglibc-f535a036af4f875145e9f83f2b2e801d290741ad.tar.gz
glibc-f535a036af4f875145e9f83f2b2e801d290741ad.tar.xz
glibc-f535a036af4f875145e9f83f2b2e801d290741ad.zip
(ptrace) [PTRACE_TRACEME]: Notify the proc server that we are now traced.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/ptrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/ptrace.c b/sysdeps/mach/hurd/ptrace.c
index 3d8558734f..90fd7649ee 100644
--- a/sysdeps/mach/hurd/ptrace.c
+++ b/sysdeps/mach/hurd/ptrace.c
@@ -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: