Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 10/02/2006 16:29:57
Module Name:	src
Committed By:	elad
Date:		Mon Oct  2 16:29:57 UTC 2006

Modified Files:
	src/sys/kern: init_main.c kern_auth.c

Log Message:
Move the kauth_init() call above auto-configuration; this will fix some
recent bugs introduced with the usage of kauth(9) in MD/device code.

While here, change the sanity checks to KASSERT(), because they're really
bugs we should fix if triggered.


To generate a diff of this commit:
cvs rdiff -r1.277 -r1.278 src/sys/kern/init_main.c
cvs rdiff -r1.25 -r1.26 src/sys/kern/kern_auth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.