Issues with mounting a barebones Linux Security Module.
by Nucl3arsn3k from LinuxQuestions.org on (#6GXQ9)
I'm working on mounting a custom security module in kernel version 6.5.6,and it's never mounted for some reason.
I've made the code for the basic outline of the security module I'm testing public on github.
https://github.com/Nucl3arSn3k/LSM-test
To build the module as part of the new kernel, I used Code:make menuconfig,checked to see if the module was enabled and then used Code:make bzImage to build the kernel with the custom module.
I then used Code:make modules and Code:make modules_install to set up the modules for the kernel, then used Code:make install to successfully install kernel version 6.5.6. However, on reboot, the custom module I wrote does not show as being enabled. I'm unsure what's going on at this point.
I've made the code for the basic outline of the security module I'm testing public on github.
https://github.com/Nucl3arSn3k/LSM-test
To build the module as part of the new kernel, I used Code:make menuconfig,checked to see if the module was enabled and then used Code:make bzImage to build the kernel with the custom module.
I then used Code:make modules and Code:make modules_install to set up the modules for the kernel, then used Code:make install to successfully install kernel version 6.5.6. However, on reboot, the custom module I wrote does not show as being enabled. I'm unsure what's going on at this point.