diff options
author | 2023-10-31 13:32:06 +0100 | |
---|---|---|
committer | 2023-11-08 15:39:42 -0500 | |
commit | 866d648059d5faf53f1cd960b43fe8365ad93ea7 (patch) | |
tree | b1dcd433059b82bb916ed1bfc155f6e1ee644a8f /scripts/gdb/linux/tasks.py | |
parent | lsm: fix a spelling mistake (diff) | |
download | wireguard-linux-866d648059d5faf53f1cd960b43fe8365ad93ea7.tar.xz wireguard-linux-866d648059d5faf53f1cd960b43fe8365ad93ea7.zip |
lsm: fix default return value for vm_enough_memory
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>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions