summary refs log tree commit diff
path: root/sysdeps/nptl/_Fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nptl/_Fork.c')
-rw-r--r--sysdeps/nptl/_Fork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/nptl/_Fork.c b/sysdeps/nptl/_Fork.c
index dd568992e2..7dc02569f6 100644
--- a/sysdeps/nptl/_Fork.c
+++ b/sysdeps/nptl/_Fork.c
@@ -43,6 +43,8 @@ _Fork (void)
       self->robust_head.list = &self->robust_head;
       INTERNAL_SYSCALL_CALL (set_robust_list, &self->robust_head,
 			     sizeof (struct robust_list_head));
+
+      call_function_static_weak (__arc4random_fork_subprocess);
     }
   return pid;
 }