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

Ondrej Mosnacek omosnace at redhat.com
Tue Oct 31 12:32:05 UTC 2023


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(-)

-- 
2.41.0



More information about the Linux-security-module-archive mailing list