[PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

James Morris jmorris at namei.org
Sun Apr 30 23:28:52 UTC 2017


On Sat, 29 Apr 2017, Mickaël Salaün wrote:

> Check if the registering LSM already registered hooks just before. This
> enable to split hook declarations into multiple files without
> registering multiple time the same LSM name, starting from commit
> d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm").

Please include a detailed rationale for these patches.  The above tells us 
very little about why they are needed.



-- 
James Morris
<jmorris at namei.org>


More information about the Linux-security-module-archive mailing list