From: Scott Weaver <[email protected]>

lsm: update security_lock_kernel_down

Update to RHEL-only security_lock_kernel_down() due to 260017f3 ('lsm:
use default hook return value in call_int_hook()').

Signed-off-by: Scott Weaver <[email protected]>

diff --git a/security/security.c b/security/security.c
index blahblah..blahblah 100644
--- a/security/security.c
+++ b/security/security.c
@@ -5569,7 +5569,7 @@ EXPORT_SYMBOL(security_locked_down);
  */
 int security_lock_kernel_down(const char *where, enum lockdown_reason level)
 {
-       return call_int_hook(lock_kernel_down, 0, where, level);
+       return call_int_hook(lock_kernel_down, where, level);
 }
 EXPORT_SYMBOL(security_lock_kernel_down);
 

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2990
--
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to