linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/22] Move LSM hook comments into security/security.c
@ 2023-02-17  3:26 Paul Moore
  2023-02-17  3:26 ` [PATCH 01/22] lsm: move the program execution hook comments to security/security.c Paul Moore
                   ` (24 more replies)
  0 siblings, 25 replies; 33+ messages in thread
From: Paul Moore @ 2023-02-17  3:26 UTC (permalink / raw)
  To: linux-security-module

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.
In the process of moving the comment blocks, they have been massaged
into the standard kernel-doc format for the sake of consistency and
easier reading.  Unfortunately, correcting all of the errors in the
comments would have made an extremely long and painful task even worse,
so a number of errors remain, but the worst offenders were corrected in
the move.  Now that the comments are in the proper location, and in the
proper format, my hope is that future patch submissions correcting the
actual comment contents will be much easier and the comments as a whole
will be easier to maintain.

There are no code changes in this patchset, although since I was
already adding a lot of churn to security.c, the last patch in this
patchset (22/22) does take the liberty of fixing some rather ugly
style problems.

 include/linux/lsm_hooks.h | 1624 +++++++++++++++++++++
 security/security.c       | 2702 +---------------------------------------
 2 files changed, 1710 insertions(+), 2616 deletions(-)



^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2023-03-08 17:22 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17  3:26 [PATCH 00/22] Move LSM hook comments into security/security.c Paul Moore
2023-02-17  3:26 ` [PATCH 01/22] lsm: move the program execution hook comments to security/security.c Paul Moore
2023-02-17  3:26 ` [PATCH 02/22] lsm: move the fs_context " Paul Moore
2023-02-17  3:26 ` [PATCH 03/22] lsm: move the filesystem " Paul Moore
2023-02-17  3:26 ` [PATCH 04/22] lsm: move the inode " Paul Moore
2023-02-17  3:26 ` [PATCH 05/22] lsm: move the kernfs " Paul Moore
2023-02-17  3:26 ` [PATCH 06/22] lsm: move the file " Paul Moore
2023-02-17  3:26 ` [PATCH 07/22] lsm: move the task " Paul Moore
2023-02-17  3:26 ` [PATCH 08/22] lsm: move the netlink " Paul Moore
2023-02-17  3:26 ` [PATCH 09/22] lsm: move the AF_UNIX " Paul Moore
2023-02-17  3:26 ` [PATCH 10/22] lsm: move the socket " Paul Moore
2023-02-17  3:26 ` [PATCH 11/22] lsm: move the SCTP " Paul Moore
2023-02-17  3:26 ` [PATCH 12/22] lsm: move the Infiniband " Paul Moore
2023-02-17  3:26 ` [PATCH 13/22] lsm: move the xfrm " Paul Moore
2023-02-17  3:26 ` [PATCH 14/22] lsm: move the key " Paul Moore
2023-02-17  3:26 ` [PATCH 15/22] lsm: move the sysv " Paul Moore
2023-02-17  3:26 ` [PATCH 16/22] lsm: move the binder " Paul Moore
2023-02-17  3:26 ` [PATCH 17/22] lsm: move the audit " Paul Moore
2023-02-17  3:26 ` [PATCH 18/22] lsm: move the bpf " Paul Moore
2023-02-17  3:26 ` [PATCH 19/22] lsm: move the perf " Paul Moore
2023-02-17  3:26 ` [PATCH 20/22] lsm: move the io_uring " Paul Moore
2023-02-17  3:26 ` [PATCH 21/22] lsm: move the remaining LSM " Paul Moore
2023-02-17  3:26 ` [PATCH 22/22] lsm: styling fixes " Paul Moore
2023-02-17 14:07 ` [PATCH 00/22] Move LSM hook comments into security/security.c Paul Moore
2023-02-17 17:22 ` Casey Schaufler
2023-02-17 19:04   ` Paul Moore
2023-03-06 18:49 ` Paul Moore
2023-03-07  8:08   ` Roberto Sassu
2023-03-07 16:33     ` Paul Moore
2023-03-07 16:38       ` Roberto Sassu
2023-03-08 17:09         ` Paul Moore
2023-03-08 17:14           ` Roberto Sassu
2023-03-08 17:20             ` Paul Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).