1

How can the LSM be used to automatically invoke custom written kernel modules?

Specifically I would like for my module to be called every time a new process is instantiated so that it can do some checking on the SELinux labels -> if there is a better way (scheduler modification?) to do this let me know.

I am trying to avoid constantly polling the process list every X ms.

COner
  • 77
  • 1
  • 7
  • I think this will answer you question: https://stackoverflow.com/questions/10428212/how-can-i-implement-my-own-hook-function-with-lsm – user1120007 Dec 09 '19 at 08:00

0 Answers0