Closed alichtman closed 5 years ago
[x] Check that #23 works the way you expect.
[ ] Read these to see if you can find any issues with the way we're currently doing it. I have verified that the module sees updated parameter values through the logs. It, for some reason, sometimes doesn't use these values in the hooked functions.
https://tournasdimitrios1.wordpress.com/2011/02/07/passing-parameters-to-the-kernel-at-run-time-time-on-linux/
https://unix.stackexchange.com/questions/122918/change-kernel-parameters-at-runtime
https://www.tecmint.com/change-modify-linux-kernel-runtime-parameters/
https://stackoverflow.com/questions/11031554/kernel-module-parameters-changes-using-sys-module/33655017
set_fs(KERNEL_DS); section in https://www.linuxjournal.com/article/8110
set_fs(KERNEL_DS);
https://buffer.antifork.org/linux/procfs-guide.pdf
NOTE: Can only change block_removal from F -> T, not T -> F.
block_removal
Ok, we're pivoting to use syscalls with magic params for all of these that we can.
[x] Check that #23 works the way you expect.
[ ] Read these to see if you can find any issues with the way we're currently doing it. I have verified that the module sees updated parameter values through the logs. It, for some reason, sometimes doesn't use these values in the hooked functions.
https://tournasdimitrios1.wordpress.com/2011/02/07/passing-parameters-to-the-kernel-at-run-time-time-on-linux/
https://unix.stackexchange.com/questions/122918/change-kernel-parameters-at-runtime
https://www.tecmint.com/change-modify-linux-kernel-runtime-parameters/
https://stackoverflow.com/questions/11031554/kernel-module-parameters-changes-using-sys-module/33655017
set_fs(KERNEL_DS);
section in https://www.linuxjournal.com/article/8110https://buffer.antifork.org/linux/procfs-guide.pdf