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). |
||
---|---|---|
.. | ||
arch | ||
common | ||
files.linux | ||
linux_syscall.h | ||
linux_syscallargs.h | ||
linux_syscalls.c | ||
Makefile.inc |