Re: [PATCH] LSM: Remove obsoleted comments for security hooks

From: Paul Moore
Date: Tue Oct 25 2022 - 20:01:51 EST


On Tue, Oct 25, 2022 at 8:58 AM Gaosheng Cui <cuigaosheng1@xxxxxxxxxx> wrote:
>
> Remove the following obsoleted comments for security hooks:
>
> 1. sb_copy_data, the hook function has been removed since
> commit 5b4002391153 ("LSM: turn sb_eat_lsm_opts() into a method").
>
> 2. sb_parse_opts_str, the hook function has been removed since
> commit 757cbe597fe8 ("LSM: new method: ->sb_add_mnt_opt()").
>
> They are obsoleted comments, so remove them.
>
> Signed-off-by: Gaosheng Cui <cuigaosheng1@xxxxxxxxxx>
> ---
> include/linux/lsm_hooks.h | 13 -------------
> 1 file changed, 13 deletions(-)

Merged into lsm/next, thanks.

--
paul-moore.com