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). |
||
---|---|---|
.. | ||
files.procfs | ||
Makefile | ||
procfs_cmdline.c | ||
procfs_ctl.c | ||
procfs_fd.c | ||
procfs_fpregs.c | ||
procfs_linux.c | ||
procfs_map.c | ||
procfs_mem.c | ||
procfs_note.c | ||
procfs_regs.c | ||
procfs_status.c | ||
procfs_subr.c | ||
procfs_vfsops.c | ||
procfs_vnops.c | ||
procfs.h |