10a7ba9ef6
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). |
||
---|---|---|
.. | ||
aout | ||
aoutm68k | ||
freebsd | ||
hpux | ||
ibcs2 | ||
irix | ||
linux | ||
netbsd32 | ||
osf1 | ||
pecoff | ||
sunos | ||
sunos32 | ||
svr4 | ||
svr4_32 | ||
ultrix | ||
Makefile | ||
Makefile.inc |