Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 09:41:04 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/sys ptrace.2
Message-ID:  <200401101741.i0AHf4u2087786@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004/01/10 09:41:04 PST

  FreeBSD src repository

  Modified files:
    lib/libc/sys         ptrace.2 
  Log:
  Clarify the behavior of ptrace(2) a little bit: the tracing process
  must first attach to the traced process.  If the tracing process
  exits without detaching, the traced process will be killed rather
  than continued.  For the duration of the tracing session, the traced
  process is reparented to the tracing process (with resulting expected
  behaviors).  It is permissible to trace more than one other process
  at a time.  When using waitpid() to monitor the behavior of the traced
  process, signals are intercepted: they may optionally then be
  forwarded using ptrace().  Signals are generated normally by and for
  the process, but also by the tracing facility (SIGTRAP).
  
  Product of:     Suffering
  Sponsored by:   DARPA, AFRL
  
  Revision  Changes    Path
  1.34      +24 -0     src/lib/libc/sys/ptrace.2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401101741.i0AHf4u2087786>