From owner-cvs-all Thu Oct 11 16:39:50 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8829737B405; Thu, 11 Oct 2001 16:39:43 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9BNdhG51161; Thu, 11 Oct 2001 16:39:43 -0700 (PDT) (envelope-from jhb) Message-Id: <200110112339.f9BNdhG51161@freefall.freebsd.org> From: John Baldwin Date: Thu, 11 Oct 2001 16:39:43 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_jail.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhb 2001/10/11 16:39:43 PDT Modified files: sys/kern kern_jail.c Log: - Catch up to the new ucred API. - Add proc locking to the jail() syscall. This mostly involved shuffling a few things around so that blockable things like malloc and copyin were performed before acquiring the lock and checking the existing ucred and then updating the ucred as one "atomic" change under the proc lock. Revision Changes Path 1.15 +25 -19 src/sys/kern/kern_jail.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message