Subject: CVS commit: [netbsd-2-0] src/sys/lkm
To: None <>
From: Matthias Scheler <>
List: source-changes
Date: 05/23/2004 10:46:00
Module Name:	src
Committed By:	tron
Date:		Sun May 23 10:46:00 UTC 2004

Modified Files:
	src/sys/lkm/compat/netbsd32 [netbsd-2-0]: lkminit_emul.c
	src/sys/lkm/vfs/miscfs/fdesc [netbsd-2-0]: lkminit_vfs.c
	src/sys/lkm/vfs/miscfs/kernfs [netbsd-2-0]: lkminit_vfs.c
	src/sys/lkm/vfs/miscfs/portal [netbsd-2-0]: lkminit_vfs.c
	src/sys/lkm/vfs/miscfs/procfs [netbsd-2-0]: lkminit_vfs.c
	src/sys/lkm/vfs/miscfs/union [netbsd-2-0]: lkminit_vfs.c
	src/sys/lkm/vfs/msdosfs [netbsd-2-0]: lkminit_vfs.c
	src/sys/lkm/vfs/ntfs [netbsd-2-0]: lkminit_vfs.c
	src/sys/lkm/vfs/ufs/ffs [netbsd-2-0]: lkminit_vfs.c
	src/sys/lkm/vfs/ufs/mfs [netbsd-2-0]: lkminit_vfs.c

Log Message:
Pull up revision 1.6 (requested by atatat in ticket #374):
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).

To generate a diff of this commit:
cvs rdiff -r1.5 -r1.5.18.1 src/sys/lkm/compat/netbsd32/lkminit_emul.c
cvs rdiff -r1.5 -r1.5.18.1 src/sys/lkm/vfs/miscfs/fdesc/lkminit_vfs.c
cvs rdiff -r1.5 -r1.5.18.1 src/sys/lkm/vfs/miscfs/kernfs/lkminit_vfs.c
cvs rdiff -r1.5 -r1.5.18.1 src/sys/lkm/vfs/miscfs/portal/lkminit_vfs.c
cvs rdiff -r1.5 -r1.5.18.1 src/sys/lkm/vfs/miscfs/procfs/lkminit_vfs.c
cvs rdiff -r1.5 -r1.5.4.1 src/sys/lkm/vfs/miscfs/union/lkminit_vfs.c
cvs rdiff -r1.5 -r1.5.18.1 src/sys/lkm/vfs/msdosfs/lkminit_vfs.c
cvs rdiff -r1.5 -r1.5.18.1 src/sys/lkm/vfs/ntfs/lkminit_vfs.c
cvs rdiff -r1.5 -r1.5.18.1 src/sys/lkm/vfs/ufs/ffs/lkminit_vfs.c
cvs rdiff -r1.5 -r1.5.18.1 src/sys/lkm/vfs/ufs/mfs/lkminit_vfs.c

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