diff options
Diffstat (limited to 'patches/systemd-234/0012-missing-define-PR_SET_MM.patch')
-rw-r--r-- | patches/systemd-234/0012-missing-define-PR_SET_MM.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/patches/systemd-234/0012-missing-define-PR_SET_MM.patch b/patches/systemd-234/0012-missing-define-PR_SET_MM.patch deleted file mode 100644 index 4c0f4417c..000000000 --- a/patches/systemd-234/0012-missing-define-PR_SET_MM.patch +++ /dev/null @@ -1,43 +0,0 @@ -From: Michael Olbrich <m.olbrich@pengutronix.de> -Date: Mon, 13 Mar 2017 18:43:37 +0100 -Subject: [PATCH] missing: define PR_SET_MM* - -These were all introduced before kernel v3.4 - -Not for upstream, but needed for host-systemd. - -Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> ---- - src/basic/missing.h | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -diff --git a/src/basic/missing.h b/src/basic/missing.h -index 54ee7fa91414..3bebd8d59e47 100644 ---- a/src/basic/missing.h -+++ b/src/basic/missing.h -@@ -1024,6 +1024,25 @@ static inline int syncfs(int fd) - #define BINFMTFS_MAGIC 0x42494e4d - #endif - -+#ifndef PR_SET_MM -+#define PR_SET_MM 35 -+# define PR_SET_MM_START_CODE 1 -+# define PR_SET_MM_END_CODE 2 -+# define PR_SET_MM_START_DATA 3 -+# define PR_SET_MM_END_DATA 4 -+# define PR_SET_MM_START_STACK 5 -+# define PR_SET_MM_START_BRK 6 -+# define PR_SET_MM_BRK 7 -+# define PR_SET_MM_ARG_START 8 -+# define PR_SET_MM_ARG_END 9 -+# define PR_SET_MM_ENV_START 10 -+# define PR_SET_MM_ENV_END 11 -+# define PR_SET_MM_AUXV 12 -+# define PR_SET_MM_EXE_FILE 13 -+# define PR_SET_MM_MAP 14 -+# define PR_SET_MM_MAP_SIZE 15 -+#endif -+ - #ifndef IPV6_UNICAST_IF - #define IPV6_UNICAST_IF 76 - #endif |