简体   繁体   中英

New linux kernels, no lsm using lkms, no kernel hooks now what?

For security reasons, the kernel ceased to export characters necessary for writing security modules in the form of loadable kernel modules (Linux Kernel Module, LKM) starting with version 2.6.24.

And you can't export sys_call_table , again for security reasons.

But then, how can I filter filesystem requests ?

I'll state it simply: I want to hook the "open" function!

I don't want to have to compile my own version of the kernel, what's the point of drivers? It should work for all kernels.

Please help, thought I would have more freedom than Windows with Linux, but now I see the most precious parts of my life are blocked in Linux.

I've written a kernel module that can do this called tpe-lkm . I've also mentioned it on some other questions similar to this here on StackOverflow:

Hope one of these helps you out.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM