![]() 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.netbsd32 | ||
Makefile | ||
netbsd32_compat_09.c | ||
netbsd32_compat_10.c | ||
netbsd32_compat_12.c | ||
netbsd32_compat_13.c | ||
netbsd32_compat_14.c | ||
netbsd32_compat_43.c | ||
netbsd32_conv.h | ||
netbsd32_core.c | ||
netbsd32_exec_aout.c | ||
netbsd32_exec_elf32.c | ||
netbsd32_exec.h | ||
netbsd32_execve.c | ||
netbsd32_fs.c | ||
netbsd32_ioctl.c | ||
netbsd32_ioctl.h | ||
netbsd32_ipc.c | ||
netbsd32_netbsd.c | ||
netbsd32_select.c | ||
netbsd32_signal.c | ||
netbsd32_socket.c | ||
netbsd32_syscall.h | ||
netbsd32_syscallargs.h | ||
netbsd32_syscalls.c | ||
netbsd32_sysctl.c | ||
netbsd32_sysent.c | ||
netbsd32_time.c | ||
netbsd32_wait.c | ||
netbsd32.h | ||
syscalls.conf | ||
syscalls.master |