Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2002 14:17:38 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern sys_process.c
Message-ID:  <200204122117.g3CLHcF92496@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2002/04/12 14:17:38 PDT

  Modified files:
    sys/kern             sys_process.c 
  Log:
  Rework ptrace(2) to be more locking friendly.  We do any needed copyin()'s
  and acquire the proctree_lock if needed first.  Then we lock the process
  if necessary and fiddle with it as appropriate.  Finally we drop locks and
  do any needed copyout's.  This greatly simplifies the locking.
  
  Revision  Changes    Path
  1.89      +114 -86   src/sys/kern/sys_process.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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