Re: [PATCH 0/2] lsm: fix default return values for some hooks

From: Paul Moore
Date: Tue Nov 07 2023 - 22:12:39 EST


On Tue, Oct 31, 2023 at 8:32 AM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote:
>
> Some of the default return values listed in <linux/lsm_hook_defs.h>
> don't match the actual no-op value and can be trivially fixed.
>
> Ondrej Mosnacek (2):
> lsm: fix default return value for vm_enough_memory
> lsm: fix default return value for inode_getsecctx
>
> include/linux/lsm_hook_defs.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

These both look like reasonable -stable candidates to me, what do you think?

--
paul-moore.com