Module Name: src
Committed By: tron
Date: Sun May 23 10:46:29 UTC 2004
Modified Files:
src/sys/compat/linux/common [netbsd-2-0]: linux_sysctl.c
src/sys/miscfs/nullfs [netbsd-2-0]: null.h
Log Message:
Pull up revision 1.15 (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.13.2.1 -r1.13.2.2 src/sys/compat/linux/common/linux_sysctl.c
cvs rdiff -r1.14 -r1.14.2.1 src/sys/miscfs/nullfs/null.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.