From owner-cvs-all@FreeBSD.ORG Fri Sep 29 07:41:29 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C151516A416; Fri, 29 Sep 2006 07:41:29 +0000 (UTC) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A519043D76; Fri, 29 Sep 2006 07:41:25 +0000 (GMT) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8T7fPcb037486; Fri, 29 Sep 2006 07:41:25 GMT (envelope-from mbr@repoman.freebsd.org) Received: (from mbr@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8T7fP6d037485; Fri, 29 Sep 2006 07:41:25 GMT (envelope-from mbr) Message-Id: <200609290741.k8T7fP6d037485@repoman.freebsd.org> From: Martin Blapp Date: Fri, 29 Sep 2006 07:41:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/kern kern_proc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 07:41:29 -0000 mbr 2006-09-29 07:41:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_proc.c Log: MFC rev. 1.241, 1.242, 1.243 Add some Giant locks to protect against races between tty and sessrele(), doenterpgrp(), leavepgrp(), pgdelete() and enterpgrp(). The tty code is still under giant lock, but the session/pgrp release code just used proctree_locks. P_CONTROLT isn't really fully locked too in enterpgrp(). Reviewed by: jhb Approved by: re Revision Changes Path 1.230.2.5 +9 -0 src/sys/kern/kern_proc.c