Re: [PATCH 00/10] LSM documentation update

From: efremov
Date: Sun Feb 17 2019 - 13:05:09 EST


Kees Cook ÐÐÑÐÐ 2019-02-11 22:28:
On Thu, Feb 7, 2019 at 4:45 AM Denis Efremov <efremov@xxxxxxxxx> wrote:

Recent "New LSM Hooks" discussion has led me to the
thought that it might be a good idea to slightly
update the current documentation. The patchset adds
nothing new to the documentation, only fixes the old
description of hooks to reflect their current state.


Do these fixes silence any warnings during the documentation build?
(i.e. how did you verify the results beyond eyeballing the changes)

-Kees

This LSM documentation is not used during the documentation build.
At least I can't find it in the resulting build directory and at
the online documentation on the kernel. Most of the fixes are pretty
obvious and can be checked by comparing an lsm hook declaration and
its description in the LSM comment from lsm_hooks.h I tried to be
exhaustive in the commits description and in every case to reference
the original commit where the interface was changed without
documentation update.



Denis Efremov (10):
security: fix documentation for the sb_copy_data hook
security: fix documentation for the syslog hook
security: fix documentation for the socket_post_create hook
security: fix documentation for the task_setscheduler hook
security: fix documentation for the socket_getpeersec_dgram hook
security: fix documentation for the path_chmod hook
security: fix documentation for the audit_* hooks
security: fix documentation for the msg_queue_* hooks
security: fix documentation for the sem_* hooks
security: fix documentation for the shm_* hooks

include/linux/lsm_hooks.h | 127 ++++++++++++++++++--------------------
1 file changed, 61 insertions(+), 66 deletions(-)

--
2.17.2