summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch b/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch
index 03f6ead131..37979755d0 100644
--- a/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch
+++ b/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch
@@ -1,7 +1,7 @@
1From 6dd136512896979feb6883a16226d640a7e5ca74 Mon Sep 17 00:00:00 2001 1From b8055a61b5df6b43b8d3117936587b874b0a339b Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Fri, 23 Feb 2018 10:04:48 +0800 3Date: Mon, 25 Feb 2019 11:01:18 +0800
4Subject: [PATCH 01/19] Use getenv when secure versions are not available 4Subject: [PATCH 01/24] Use getenv when secure versions are not available
5 5
6musl doesnt implement secure version, so we default 6musl doesnt implement secure version, so we default
7to it if configure does not detect a secure implementation 7to it if configure does not detect a secure implementation
@@ -12,14 +12,14 @@ Upstream-Status: Denied
12 12
13Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 13Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
14--- 14---
15 src/basic/missing.h | 2 +- 15 src/basic/missing_stdlib.h | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
17 17
18diff --git a/src/basic/missing.h b/src/basic/missing.h 18diff --git a/src/basic/missing_stdlib.h b/src/basic/missing_stdlib.h
19index 71a07d057..0e33abb9f 100644 19index 188a8d4..c0ffe86 100644
20--- a/src/basic/missing.h 20--- a/src/basic/missing_stdlib.h
21+++ b/src/basic/missing.h 21+++ b/src/basic/missing_stdlib.h
22@@ -592,7 +592,7 @@ struct btrfs_ioctl_quota_ctl_args { 22@@ -8,6 +8,6 @@
23 # if HAVE___SECURE_GETENV 23 # if HAVE___SECURE_GETENV
24 # define secure_getenv __secure_getenv 24 # define secure_getenv __secure_getenv
25 # else 25 # else
@@ -27,7 +27,6 @@ index 71a07d057..0e33abb9f 100644
27+# define secure_getenv getenv 27+# define secure_getenv getenv
28 # endif 28 # endif
29 #endif 29 #endif
30
31-- 30--
322.11.0 312.7.4
33 32