Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2002 10:09:22 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern tty.c tty_pty.c
Message-ID:  <200204161709.g3GH9M288019@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2002/04/16 10:09:22 PDT

  Modified files:
    sys/kern             tty.c tty_pty.c 
  Log:
  - Lock proctree_lock instead of pgrpsess_lock.
  - Use temporary variables to hold a pointer to a pgrp while we dink with it
    while not holding either the associated proc lock or proctree_lock.  It
    is in theory possible that p->p_pgrp could change out from under us.
  
  Revision  Changes    Path
  1.172     +34 -33    src/sys/kern/tty.c
  1.98      +8 -6      src/sys/kern/tty_pty.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?200204161709.g3GH9M288019>