Re: [PATCH v4 1/3] security: Refactor LSM hooks into an array and enum

From: Casey Schaufler
Date: Wed Mar 07 2018 - 12:45:53 EST


On 3/6/2018 11:23 PM, Sargun Dhillon wrote:
> This commit should have no functional change. It changes the security hook
> list heads struct into an array. Additionally, it exposes all of the hooks
> via an enum. This loses memory layout randomization as the enum is not
> randomized.

Please explain why you want to do this. I still dislike it.