Hi, I just got a compile error after the movement of the sysctls. When having netbsd32 compat on a 64bit machine. A conditional include for compat/netbsd32/netbsd32.h fixed this, one like in init_sysctl.c
Kind Regards, Lars Am 28.01.2011 19:44 schrieb "Antti Kantee" <po...@netbsd.org>: > Module Name: src > Committed By: pooka > Date: Fri Jan 28 18:44:45 UTC 2011 > > Modified Files: > src/sys/kern: init_main.c init_sysctl.c kern_descrip.c kern_proc.c > kern_sysctl.c > src/sys/sys: proc.h sysctl.h > > Log Message: > Move sysctl routines from init_sysctl.c to kern_descrip.c (for > descriptors) and kern_proc.c (for processes). This makes them > usable in a rump kernel, in case somebody was wondering. > > > To generate a diff of this commit: > cvs rdiff -u -r1.426 -r1.427 src/sys/kern/init_main.c > cvs rdiff -u -r1.176 -r1.177 src/sys/kern/init_sysctl.c > cvs rdiff -u -r1.209 -r1.210 src/sys/kern/kern_descrip.c > cvs rdiff -u -r1.169 -r1.170 src/sys/kern/kern_proc.c > cvs rdiff -u -r1.229 -r1.230 src/sys/kern/kern_sysctl.c > cvs rdiff -u -r1.299 -r1.300 src/sys/sys/proc.h > cvs rdiff -u -r1.190 -r1.191 src/sys/sys/sysctl.h > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >