Searched hist:"64 d84030" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | lsm_hook_defs.h | 64d84030 Tue Oct 31 07:32:06 CDT 2023 Ondrej Mosnacek <omosnace@redhat.com> lsm: fix default return value for vm_enough_memory
commit 866d648059d5faf53f1cd960b43fe8365ad93ea7 upstream.
1 is the return value that implements a "no-op" hook, not 0.
Cc: stable@vger.kernel.org Fixes: 98e828a0650f ("security: Refactor declaration of LSM hooks") Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|