summaryrefslogtreecommitdiff
path: root/sys-apps/util-linux/files/util-linux-2.41.4-no-AF_ALG.patch
blob: da044a76ebcbe532be528d6bf0fd1e783d499bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Don't enable AF_ALG support:
* https://github.com/util-linux/util-linux/issues/4329
* https://github.com/util-linux/util-linux/pull/4334#issuecomment-4492009559

It's brittle and on its way out of the kernel. hardlink automagically using
it has triggered a kernel panic as well: https://sporks.space/2026/05/19/chasing-down-why-installing-the-kernel-segfaulted/
--- a/include/fileeq.h
+++ b/include/fileeq.h
@@ -10,10 +10,6 @@
 #include <stdint.h>
 #include <stdbool.h>
 
-#if defined(__linux__) && defined(HAVE_LINUX_IF_ALG_H)
-# define USE_FILEEQ_CRYPTOAPI 1
-#endif
-
 /* Number of bytes from the beginning of the file we always
  * compare by memcmp() */
 #define UL_FILEEQ_INTROSIZ	32