Move LSM hook comments into security/security.c
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest22 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | lsm: move the program execution hook comments to security/security.cinclude/ security/ | +69 | 0 replies | |
| 2/22 | lsm: move the fs_context hook comments to security/security.cinclude/ security/ | +23 | 0 replies | |
| 3/22 | lsm: move the filesystem hook comments to security/security.cinclude/ security/ | +181 | 0 replies | |
| 4/22 | lsm: move the inode hook comments to security/security.cinclude/ security/ | +524 | 0 replies | |
| 5/22 | lsm: move the kernfs hook comments to security/security.cinclude/ security/ | +10 | 0 replies | |
| 6/22 | lsm: move the file hook comments to security/security.cinclude/ security/ | +151 | 0 replies | |
| 7/22 | lsm: move the task hook comments to security/security.cinclude/ security/ | +334 | 0 replies | |
| 8/22 | lsm: move the netlink hook comments to security/security.cinclude/ security/ | +13 | 0 replies | |
| 9/22 | lsm: move the AF_UNIX hook comments to security/security.cinclude/ security/ | +41 | 0 replies | |
| 10/22 | lsm: move the socket hook comments to security/security.cinclude/ security/ | +322 | 0 replies | |
| 11/22 | lsm: move the SCTP hook comments to security/security.cinclude/ security/ | +43 | 0 replies | |
| 12/22 | lsm: move the Infiniband hook comments to security/security.cinclude/ security/ | +34 | 0 replies | |
| 13/22 | lsm: move the xfrm hook comments to security/security.cinclude/ security/ | +103 | 0 replies | |
| 14/22 | lsm: move the key hook comments to security/security.cinclude/ security/ | +40 | 0 replies | |
| 15/22 | lsm: move the sysv hook comments to security/security.cinclude/ security/ | +191 | 0 replies | |
| 16/22 | lsm: move the binder hook comments to security/security.cinclude/ security/ | +36 | 0 replies | |
| 17/22 | lsm: move the audit hook comments to security/security.cinclude/ security/ | +41 | 0 replies | |
| 18/22 | lsm: move the bpf hook comments to security/security.cinclude/ security/ | +65 | 0 replies | |
| 19/22 | lsm: move the perf hook comments to security/security.cinclude/ security/ | +39 | 0 replies | |
| 20/22 | lsm: move the io_uring hook comments to security/security.cinclude/ security/ | +26 | 0 replies | |
| 21/22 | lsm: move the remaining LSM hook comments to security/security.cinclude/ security/ | +231 | 0 replies | |
| 22/22 | lsm: styling fixes to security/security.csecurity/ | +99 | 0 replies |
Reviews trailers per patch
None of the 22 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Casey Schaufler |
|---|---|
| Series | A-b |
| 1/22 | |
| 2/22 | |
| 3/22 | |
| 4/22 | |
| 5/22 | |
| 6/22 | |
| 7/22 | |
| 8/22 | |
| 9/22 | |
| 10/22 | |
| 11/22 | |
| 12/22 | |
| 13/22 | |
| 14/22 | |
| 15/22 | |
| 16/22 | |
| 17/22 | |
| 18/22 | |
| 19/22 | |
| 20/22 | |
| 21/22 | |
| 22/22 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/22] Move LSM hook comments into security/security.c
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(-)