diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0026-reset-dl_load_write_lock-after-forking.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0026-reset-dl_load_write_lock-after-forking.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-core/glibc/glibc/0026-reset-dl_load_write_lock-after-forking.patch b/meta/recipes-core/glibc/glibc/0026-reset-dl_load_write_lock-after-forking.patch index eca1193dd3..ad10b3c715 100644 --- a/meta/recipes-core/glibc/glibc/0026-reset-dl_load_write_lock-after-forking.patch +++ b/meta/recipes-core/glibc/glibc/0026-reset-dl_load_write_lock-after-forking.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 847d37d5a34e4bf294de4ba98de3668950e28bc7 Mon Sep 17 00:00:00 2001 | 1 | From c26abfc71ef461ef4980f57a35870b68826bd619 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 27 Jan 2018 10:05:07 -0800 | 3 | Date: Sat, 27 Jan 2018 10:05:07 -0800 |
4 | Subject: [PATCH 26/27] reset dl_load_write_lock after forking | 4 | Subject: [PATCH 26/30] reset dl_load_write_lock after forking |
5 | 5 | ||
6 | The patch in this Bugzilla entry was requested by a customer: | 6 | The patch in this Bugzilla entry was requested by a customer: |
7 | 7 | ||
@@ -20,10 +20,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
20 | 1 file changed, 2 insertions(+), 2 deletions(-) | 20 | 1 file changed, 2 insertions(+), 2 deletions(-) |
21 | 21 | ||
22 | diff --git a/sysdeps/nptl/fork.c b/sysdeps/nptl/fork.c | 22 | diff --git a/sysdeps/nptl/fork.c b/sysdeps/nptl/fork.c |
23 | index 846fa49ef2..f87506f398 100644 | 23 | index ec56a827eb..0f48933ff1 100644 |
24 | --- a/sysdeps/nptl/fork.c | 24 | --- a/sysdeps/nptl/fork.c |
25 | +++ b/sysdeps/nptl/fork.c | 25 | +++ b/sysdeps/nptl/fork.c |
26 | @@ -194,9 +194,9 @@ __libc_fork (void) | 26 | @@ -130,9 +130,9 @@ __libc_fork (void) |
27 | _IO_list_resetlock (); | 27 | _IO_list_resetlock (); |
28 | } | 28 | } |
29 | 29 | ||
@@ -33,8 +33,8 @@ index 846fa49ef2..f87506f398 100644 | |||
33 | - | 33 | - |
34 | + __rtld_lock_initialize (GL(dl_load_write_lock)); | 34 | + __rtld_lock_initialize (GL(dl_load_write_lock)); |
35 | /* Run the handlers registered for the child. */ | 35 | /* Run the handlers registered for the child. */ |
36 | while (allp != NULL) | 36 | __run_fork_handlers (atfork_run_child); |
37 | { | 37 | } |
38 | -- | 38 | -- |
39 | 2.16.1 | 39 | 2.18.0 |
40 | 40 | ||