OSDN Git Service

Take the arc4random lock before forking.
authorJosh Gao <jmgao@google.com>
Fri, 24 Jun 2016 20:04:09 +0000 (13:04 -0700)
committerJosh Gao <jmgao@google.com>
Tue, 28 Jun 2016 22:52:59 +0000 (15:52 -0700)
commit250667aaf69bcb701fea099caef6204ad84b1d32
treefe3891a4c1811da6e88975684704581cea05d2dc
parent36ad0207d67ef395b003dbf75d2c0193d3b8e093
Take the arc4random lock before forking.

Bug: http://b/24675038
Test: stepped through a fork call in gdb
Change-Id: I09d20ff1d103d0c005f2a0cdd9b0a8710ab2392c
libc/bionic/libc_init_common.cpp