From owner-cvs-all Wed Apr 3 10:35:49 2002 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 7FEB437B427; Wed, 3 Apr 2002 10:35:25 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g33IZPi45172; Wed, 3 Apr 2002 10:35:25 -0800 (PST) (envelope-from jhb) Message-Id: <200204031835.g33IZPi45172@freefall.freebsd.org> From: John Baldwin Date: Wed, 3 Apr 2002 10:35:25 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_prot.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 2002/04/03 10:35:25 PST Modified files: sys/kern kern_prot.c Log: - Axe a stale comment. We haven't allowed the ucred pointer passed to securelevel_*() to be NULL for a while now. - Use KASSERT() instead of if (foo) panic(); to optimize the !INVARIANTS case. Submitted by: Martin Faxer Revision Changes Path 1.151 +2 -9 src/sys/kern/kern_prot.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message