Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Brown <atatat@netbsd.org>
List: source-changes
Date: 05/20/2004 06:34:33
Module Name: src
Committed By: atatat
Date: Thu May 20 06:34:33 UTC 2004
Modified Files:
src/sys/coda: coda_vfsops.h
src/sys/compat/irix: irix_sysctl.h
src/sys/compat/linux/common: linux_sysctl.c linux_sysctl.h
src/sys/compat/netbsd32: netbsd32.h
src/sys/fs/adosfs: adosfs.h
src/sys/fs/cd9660: cd9660_extern.h
src/sys/fs/filecorefs: filecore_extern.h
src/sys/fs/msdosfs: msdosfsmount.h
src/sys/fs/ntfs: ntfs_vfsops.h
src/sys/fs/smbfs: smbfs_subr.h
src/sys/fs/union: union.h
src/sys/lkm/compat/irix: lkminit_emul.c
src/sys/lkm/compat/linux: lkminit_emul.c
src/sys/lkm/compat/netbsd32: lkminit_emul.c
src/sys/lkm/vfs/adosfs: lkminit_vfs.c
src/sys/lkm/vfs/cd9660: lkminit_vfs.c
src/sys/lkm/vfs/coda: lkminit_vfs.c
src/sys/lkm/vfs/filecorefs: lkminit_vfs.c
src/sys/lkm/vfs/miscfs/fdesc: lkminit_vfs.c
src/sys/lkm/vfs/miscfs/kernfs: lkminit_vfs.c
src/sys/lkm/vfs/miscfs/nullfs: lkminit_vfs.c
src/sys/lkm/vfs/miscfs/overlay: lkminit_vfs.c
src/sys/lkm/vfs/miscfs/portal: lkminit_vfs.c
src/sys/lkm/vfs/miscfs/procfs: lkminit_vfs.c
src/sys/lkm/vfs/miscfs/umapfs: lkminit_vfs.c
src/sys/lkm/vfs/miscfs/union: lkminit_vfs.c
src/sys/lkm/vfs/msdosfs: lkminit_vfs.c
src/sys/lkm/vfs/ntfs: lkminit_vfs.c
src/sys/lkm/vfs/smbfs: lkminit_vfs.c
src/sys/lkm/vfs/ufs/ext2fs: lkminit_vfs.c
src/sys/lkm/vfs/ufs/ffs: lkminit_vfs.c
src/sys/lkm/vfs/ufs/lfs: lkminit_vfs.c
src/sys/lkm/vfs/ufs/mfs: lkminit_vfs.c
src/sys/miscfs/fdesc: fdesc.h
src/sys/miscfs/kernfs: kernfs.h
src/sys/miscfs/nullfs: null.h
src/sys/miscfs/overlay: overlay.h
src/sys/miscfs/portal: portal.h
src/sys/miscfs/procfs: procfs.h
src/sys/miscfs/umapfs: umap.h
src/sys/sys: sysctl.h
src/sys/ufs/ext2fs: ext2fs_extern.h
src/sys/ufs/ffs: ffs_extern.h
src/sys/ufs/lfs: lfs_extern.h
src/sys/ufs/mfs: mfs_extern.h
Log Message:
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.11 -r1.12 src/sys/coda/coda_vfsops.h
cvs rdiff -r1.1 -r1.2 src/sys/compat/irix/irix_sysctl.h
cvs rdiff -r1.14 -r1.15 src/sys/compat/linux/common/linux_sysctl.c
cvs rdiff -r1.1 -r1.2 src/sys/compat/linux/common/linux_sysctl.h
cvs rdiff -r1.27 -r1.28 src/sys/compat/netbsd32/netbsd32.h
cvs rdiff -r1.2 -r1.3 src/sys/fs/adosfs/adosfs.h
cvs rdiff -r1.9 -r1.10 src/sys/fs/cd9660/cd9660_extern.h
cvs rdiff -r1.8 -r1.9 src/sys/fs/filecorefs/filecore_extern.h
cvs rdiff -r1.6 -r1.7 src/sys/fs/msdosfs/msdosfsmount.h
cvs rdiff -r1.3 -r1.4 src/sys/fs/ntfs/ntfs_vfsops.h
cvs rdiff -r1.10 -r1.11 src/sys/fs/smbfs/smbfs_subr.h
cvs rdiff -r1.9 -r1.10 src/sys/fs/union/union.h
cvs rdiff -r1.1 -r1.2 src/sys/lkm/compat/irix/lkminit_emul.c
cvs rdiff -r1.3 -r1.4 src/sys/lkm/compat/linux/lkminit_emul.c
cvs rdiff -r1.5 -r1.6 src/sys/lkm/compat/netbsd32/lkminit_emul.c
cvs rdiff -r1.4 -r1.5 src/sys/lkm/vfs/adosfs/lkminit_vfs.c
cvs rdiff -r1.1 -r1.2 src/sys/lkm/vfs/cd9660/lkminit_vfs.c
cvs rdiff -r1.7 -r1.8 src/sys/lkm/vfs/coda/lkminit_vfs.c
cvs rdiff -r1.2 -r1.3 src/sys/lkm/vfs/filecorefs/lkminit_vfs.c
cvs rdiff -r1.5 -r1.6 src/sys/lkm/vfs/miscfs/fdesc/lkminit_vfs.c
cvs rdiff -r1.5 -r1.6 src/sys/lkm/vfs/miscfs/kernfs/lkminit_vfs.c
cvs rdiff -r1.6 -r1.7 src/sys/lkm/vfs/miscfs/nullfs/lkminit_vfs.c
cvs rdiff -r1.3 -r1.4 src/sys/lkm/vfs/miscfs/overlay/lkminit_vfs.c
cvs rdiff -r1.5 -r1.6 src/sys/lkm/vfs/miscfs/portal/lkminit_vfs.c
cvs rdiff -r1.5 -r1.6 src/sys/lkm/vfs/miscfs/procfs/lkminit_vfs.c
cvs rdiff -r1.6 -r1.7 src/sys/lkm/vfs/miscfs/umapfs/lkminit_vfs.c
cvs rdiff -r1.5 -r1.6 src/sys/lkm/vfs/miscfs/union/lkminit_vfs.c
cvs rdiff -r1.5 -r1.6 src/sys/lkm/vfs/msdosfs/lkminit_vfs.c
cvs rdiff -r1.5 -r1.6 src/sys/lkm/vfs/ntfs/lkminit_vfs.c
cvs rdiff -r1.1 -r1.2 src/sys/lkm/vfs/smbfs/lkminit_vfs.c
cvs rdiff -r1.3 -r1.4 src/sys/lkm/vfs/ufs/ext2fs/lkminit_vfs.c
cvs rdiff -r1.5 -r1.6 src/sys/lkm/vfs/ufs/ffs/lkminit_vfs.c
cvs rdiff -r1.8 -r1.9 src/sys/lkm/vfs/ufs/lfs/lkminit_vfs.c
cvs rdiff -r1.5 -r1.6 src/sys/lkm/vfs/ufs/mfs/lkminit_vfs.c
cvs rdiff -r1.15 -r1.16 src/sys/miscfs/fdesc/fdesc.h
cvs rdiff -r1.22 -r1.23 src/sys/miscfs/kernfs/kernfs.h
cvs rdiff -r1.14 -r1.15 src/sys/miscfs/nullfs/null.h
cvs rdiff -r1.4 -r1.5 src/sys/miscfs/overlay/overlay.h
cvs rdiff -r1.8 -r1.9 src/sys/miscfs/portal/portal.h
cvs rdiff -r1.52 -r1.53 src/sys/miscfs/procfs/procfs.h
cvs rdiff -r1.10 -r1.11 src/sys/miscfs/umapfs/umap.h
cvs rdiff -r1.124 -r1.125 src/sys/sys/sysctl.h
cvs rdiff -r1.23 -r1.24 src/sys/ufs/ext2fs/ext2fs_extern.h
cvs rdiff -r1.37 -r1.38 src/sys/ufs/ffs/ffs_extern.h
cvs rdiff -r1.60 -r1.61 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -r1.19 -r1.20 src/sys/ufs/mfs/mfs_extern.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.