From owner-cvs-src@FreeBSD.ORG Fri Jan 16 12:29:24 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B78D716A4CE; Fri, 16 Jan 2004 12:29:24 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F301D43D39; Fri, 16 Jan 2004 12:29:23 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0GKTN0B030142; Fri, 16 Jan 2004 12:29:23 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0GKTN5B030141; Fri, 16 Jan 2004 12:29:23 -0800 (PST) (envelope-from rwatson) Message-Id: <200401162029.i0GKTN5B030141@repoman.freebsd.org> From: Robert Watson Date: Fri, 16 Jan 2004 12:29:23 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern init_main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 20:29:24 -0000 rwatson 2004/01/16 12:29:23 PST FreeBSD src repository Modified files: sys/kern init_main.c Log: KASSERT() that initproc->p_pid is 1. Very bad things happen if init's pid isn't 1, and it can actually occur if kthread_create() is called before SUB_SI_CREATE_INIT without RFHIGHPID. Discussed with: jhb Revision Changes Path 1.240 +1 -0 src/sys/kern/init_main.c