summaryrefslogtreecommitdiffstats
path: root/recipes-security/cryptmount/files/remove_linux_fs.patch
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2022-08-15 07:54:39 -0700
committerArmin Kuster <akuster808@gmail.com>2022-08-25 08:15:58 -0400
commitaa57a13788b33df008bc58f239abd43b7941b122 (patch)
tree9fd25cb0374a656d4966734f9654e8ea92072e43 /recipes-security/cryptmount/files/remove_linux_fs.patch
parentea5bb2f2e7c3e4e3b7879b05085af6e537355fdd (diff)
downloadmeta-security-aa57a13788b33df008bc58f239abd43b7941b122.tar.gz
cyptmount: Fix mount.h conflicts seen with glibc 2.36+
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/cryptmount/files/remove_linux_fs.patch')
-rw-r--r--recipes-security/cryptmount/files/remove_linux_fs.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-security/cryptmount/files/remove_linux_fs.patch b/recipes-security/cryptmount/files/remove_linux_fs.patch
new file mode 100644
index 0000000..304b853
--- /dev/null
+++ b/recipes-security/cryptmount/files/remove_linux_fs.patch
@@ -0,0 +1,19 @@
1# From glibc 2.36, <linux/mount.h> (included from <linux/fs.h>) and
2# <sys/mount.h> (included from glibc) are no longer compatible:
3# https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
4
5Upstream-Status: Pending
6Signed-off-by: Armin Kuster <akuster808@gmail.com>
7
8Index: cryptmount-5.3.3/cryptmount.c
9===================================================================
10--- cryptmount-5.3.3.orig/cryptmount.c
11+++ cryptmount-5.3.3/cryptmount.c
12@@ -41,7 +41,6 @@
13 #ifdef HAVE_SYSLOG
14 # include <syslog.h>
15 #endif
16-#include <linux/fs.h> /* Beware ordering conflict with sys/mount.h */
17
18
19 #include "armour.h"