Hi there,
I'm currently writing a program/module which makes use of the Linux Security Modules (LSM), which provide hooks for some security .
The bad thing about it is: The function to set the hook to the LSM is not exported. That means, I can't just write a loadable kernel module, but have to compile my code directly into the kernel.
Unfortunately I have only experience with writing loadable kernel modules so far, now I would like to know what do I have to do to compile my code into the kernel?
Googleing only told me how to load a module, so hopefully you can help me