diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0002-shared-missing.h-fall-back-to-insecure-getenv.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0002-shared-missing.h-fall-back-to-insecure-getenv.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/recipes-core/systemd/systemd/0002-shared-missing.h-fall-back-to-insecure-getenv.patch b/meta/recipes-core/systemd/systemd/0002-shared-missing.h-fall-back-to-insecure-getenv.patch deleted file mode 100644 index 1cf7840976..0000000000 --- a/meta/recipes-core/systemd/systemd/0002-shared-missing.h-fall-back-to-insecure-getenv.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | From 03baade6db2cf83b44a157818ba827d725449bb0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Emil Renner Berthing <systemd@esmil.dk> | ||
3 | Date: Thu, 18 Sep 2014 15:24:47 +0200 | ||
4 | Subject: [PATCH 02/11] shared/missing.h: fall back to insecure getenv | ||
5 | |||
6 | --- | ||
7 | src/shared/missing.h | 2 +- | ||
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/src/shared/missing.h b/src/shared/missing.h | ||
11 | index b33a70c..11cca04 100644 | ||
12 | --- a/src/shared/missing.h | ||
13 | +++ b/src/shared/missing.h | ||
14 | @@ -366,7 +366,7 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle | ||
15 | # ifdef HAVE___SECURE_GETENV | ||
16 | # define secure_getenv __secure_getenv | ||
17 | # else | ||
18 | -# error "neither secure_getenv nor __secure_getenv are available" | ||
19 | +# define secure_getenv getenv | ||
20 | # endif | ||
21 | #endif | ||
22 | |||
23 | -- | ||
24 | 2.1.4 | ||
25 | |||