Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <70edd79d-216a-4e8e-5117-e9a69a222ea8@gmail.com>
Date: Thu, 9 Jul 2020 17:53:43 +0300
From: Andy Lavr <andy.lavr@...il.com>
To: lkrg-users@...ts.openwall.com
Subject: lkrg: Fix build LKRG for kernel 5.8+

Hi All,


Fix for kernel 5.8+:

--- p_lkrg_main.h.orig  2020-07-09 08:47:17.958122925 +0300
+++ p_lkrg_main.h       2020-07-09 11:03:47.754854373 +0300
@@ -60,7 +62,11 @@

  #include <linux/signal.h>
  #include <linux/timex.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,8,0)
+#include <crypto/sha.h>
+#else
  #include <linux/cryptohash.h>
+#endif

  #include <linux/stacktrace.h>
  #include <asm/stacktrace.h>


Best regards, Andy.


View attachment "p_lkrg_main.h.patch" of type "text/x-patch" (370 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.