From owner-cvs-all@FreeBSD.ORG Thu Apr 17 15:26:54 2003 Return-Path: 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 ADA9737B401; Thu, 17 Apr 2003 15:26:54 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B76643F75; Thu, 17 Apr 2003 15:26:54 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3HMQs0U077663; Thu, 17 Apr 2003 15:26:54 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3HMQsR6077662; Thu, 17 Apr 2003 15:26:54 -0700 (PDT) Message-Id: <200304172226.h3HMQsR6077662@repoman.freebsd.org> From: John Baldwin Date: Thu, 17 Apr 2003 15:26:54 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_jail.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 17 Apr 2003 22:26:55 -0000 jhb 2003/04/17 15:26:54 PDT FreeBSD src repository Modified files: sys/kern kern_jail.c Log: - The prison mutex cannot possibly protect pointers to the prison it protects, so don't bother locking it while we assign it to a ucred's cr_prison. - Fully construct the new credential for a process before assigning it to p_ucred. Revision Changes Path 1.32 +1 -3 src/sys/kern/kern_jail.c