diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0010-fix-missing-of-__register_atfork-for-non-glibc-build.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0010-fix-missing-of-__register_atfork-for-non-glibc-build.patch | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/meta/recipes-core/systemd/systemd/0010-fix-missing-of-__register_atfork-for-non-glibc-build.patch b/meta/recipes-core/systemd/systemd/0010-fix-missing-of-__register_atfork-for-non-glibc-build.patch index 8bacd0289d..0de1121906 100644 --- a/meta/recipes-core/systemd/systemd/0010-fix-missing-of-__register_atfork-for-non-glibc-build.patch +++ b/meta/recipes-core/systemd/systemd/0010-fix-missing-of-__register_atfork-for-non-glibc-build.patch | |||
@@ -1,20 +1,21 @@ | |||
1 | From f1f4b4f9684fed185bfa8b9ed409cdf241657e99 Mon Sep 17 00:00:00 2001 | 1 | From 5166a6657570d4072cdce118621791e4a8186e07 Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Mon, 25 Feb 2019 15:03:47 +0800 | 3 | Date: Mon, 25 Feb 2019 15:03:47 +0800 |
4 | Subject: [PATCH 10/24] fix missing of __register_atfork for non-glibc builds | 4 | Subject: [PATCH] fix missing of __register_atfork for non-glibc builds |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [musl specific] | 6 | Upstream-Status: Inappropriate [musl specific] |
7 | 7 | ||
8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | 8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
9 | |||
9 | --- | 10 | --- |
10 | src/basic/process-util.c | 7 +++++++ | 11 | src/basic/process-util.c | 7 +++++++ |
11 | 1 file changed, 7 insertions(+) | 12 | 1 file changed, 7 insertions(+) |
12 | 13 | ||
13 | diff --git a/src/basic/process-util.c b/src/basic/process-util.c | 14 | diff --git a/src/basic/process-util.c b/src/basic/process-util.c |
14 | index 78ce43b..aec2daf 100644 | 15 | index 9b6c4c31f713..24fec5ecb53a 100644 |
15 | --- a/src/basic/process-util.c | 16 | --- a/src/basic/process-util.c |
16 | +++ b/src/basic/process-util.c | 17 | +++ b/src/basic/process-util.c |
17 | @@ -22,6 +22,9 @@ | 18 | @@ -18,6 +18,9 @@ |
18 | #if HAVE_VALGRIND_VALGRIND_H | 19 | #if HAVE_VALGRIND_VALGRIND_H |
19 | #include <valgrind/valgrind.h> | 20 | #include <valgrind/valgrind.h> |
20 | #endif | 21 | #endif |
@@ -24,7 +25,7 @@ index 78ce43b..aec2daf 100644 | |||
24 | 25 | ||
25 | #include "alloc-util.h" | 26 | #include "alloc-util.h" |
26 | #include "architecture.h" | 27 | #include "architecture.h" |
27 | @@ -1160,11 +1163,15 @@ void reset_cached_pid(void) { | 28 | @@ -1114,11 +1117,15 @@ void reset_cached_pid(void) { |
28 | cached_pid = CACHED_PID_UNSET; | 29 | cached_pid = CACHED_PID_UNSET; |
29 | } | 30 | } |
30 | 31 | ||
@@ -40,6 +41,3 @@ index 78ce43b..aec2daf 100644 | |||
40 | 41 | ||
41 | pid_t getpid_cached(void) { | 42 | pid_t getpid_cached(void) { |
42 | static bool installed = false; | 43 | static bool installed = false; |
43 | -- | ||
44 | 2.7.4 | ||
45 | |||