[PATCH 00/22] Move LSM hook comments into security/security.c
Paul Moore
paul at paul-moore.com
Fri Feb 17 14:07:18 UTC 2023
On Thu, Feb 16, 2023 at 10:26 PM Paul Moore <paul at paul-moore.com> wrote:
>
> Hello all,
>
> The LSM hook comment blocks are a in a rather sad state; separated from
> the hook definitions they are often out of mind, and as a result
> most of them are in varying levels of bit-rot, some severely. This
> patchset moves all of the comment blocks out of lsm_hooks.c and onto
> the top of the function definitions as one would normally expect.
...
> include/linux/lsm_hooks.h | 1624 +++++++++++++++++++++
> security/security.c | 2702 +---------------------------------------
> 2 files changed, 1710 insertions(+), 2616 deletions(-)
I just realized that in my excitement of finally finishing this
tedious task I accidentally ran the diff backwards so the diffstat
looks a little odd - sorry about that - the correct diffstat is below:
include/linux/lsm_hooks.h | 1624 ---------------------
security/security.c | 2708 +++++++++++++++++++++++++++++++++++++++-
2 files changed, 2619 insertions(+), 1713 deletions(-)
--
paul-moore.com
More information about the Linux-security-module-archive
mailing list