[RFC PATCH v3 0/3] Safe, dynamically loadable LSM hooks

2018-02-19 Thread Sargun Dhillon
This patchset introduces safe dynamic LSM support. These are currently not unloadable, until we figure out a use case that needs that. Adding an unload hook is trivial given the way the patch is written. This exposes a second mechanism of loading hooks which are in modules, because they are

[RFC PATCH v3 0/3] Safe, dynamically loadable LSM hooks

2018-02-19 Thread Sargun Dhillon
This patchset introduces safe dynamic LSM support. These are currently not unloadable, until we figure out a use case that needs that. Adding an unload hook is trivial given the way the patch is written. This exposes a second mechanism of loading hooks which are in modules, because they are