diff options
Diffstat (limited to 'patches/systemd-234/0011-missing-add-SMACK_MAGIC-EFIVARFS_MAGIC-BINFMTFS_MAGI.patch')
-rw-r--r-- | patches/systemd-234/0011-missing-add-SMACK_MAGIC-EFIVARFS_MAGIC-BINFMTFS_MAGI.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/patches/systemd-234/0011-missing-add-SMACK_MAGIC-EFIVARFS_MAGIC-BINFMTFS_MAGI.patch b/patches/systemd-234/0011-missing-add-SMACK_MAGIC-EFIVARFS_MAGIC-BINFMTFS_MAGI.patch deleted file mode 100644 index 6fe162a89..000000000 --- a/patches/systemd-234/0011-missing-add-SMACK_MAGIC-EFIVARFS_MAGIC-BINFMTFS_MAGI.patch +++ /dev/null @@ -1,34 +0,0 @@ -From: Michael Olbrich <m.olbrich@pengutronix.de> -Date: Fri, 27 May 2016 10:49:55 +0200 -Subject: [PATCH] missing: add SMACK_MAGIC, EFIVARFS_MAGIC, BINFMTFS_MAGIC - -These were all introduced before kernel v3.9 - -Not for upstream, but needed for host-systemd. - -Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> ---- - src/basic/missing.h | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/src/basic/missing.h b/src/basic/missing.h -index a7f53e4622af..54ee7fa91414 100644 ---- a/src/basic/missing.h -+++ b/src/basic/missing.h -@@ -1014,6 +1014,16 @@ static inline int syncfs(int fd) - } - #endif - -+#ifndef SMACK_MAGIC -+#define SMACK_MAGIC 0x43415d53 -+#endif -+#ifndef EFIVARFS_MAGIC -+#define EFIVARFS_MAGIC 0xde5e81e4 -+#endif -+#ifndef BINFMTFS_MAGIC -+#define BINFMTFS_MAGIC 0x42494e4d -+#endif -+ - #ifndef IPV6_UNICAST_IF - #define IPV6_UNICAST_IF 76 - #endif |