Use the stmdb instead of str to save the fn/arg
authorJiangli Yuan <a6808c@motorola.com>
Wed, 10 Dec 2014 01:02:59 +0000 (17:02 -0800)
committerElliott Hughes <enh@google.com>
Wed, 10 Dec 2014 18:47:01 +0000 (18:47 +0000)
commitc3d1728583907e23d1a4493e02835622514d1dd0
tree9c6f356de681e11e860ae6565d1131f835f78979
parent3f1c604c9df459f5baecfdc04cbe8ecda07b70eb
Use the stmdb instead of str to save the fn/arg

   Directly save data into stack without properly adjustment
   of stack point is dangous. For example, if a signal comes,
   kernel will put sigframe into userspace's stack, which
   will overwrite the saved data if sp is not adjusted properly.

Bug: 15195265
Change-Id: Iea0cadfd3b94d50cf40252ad52fe5950811b9192
Signed-off-by: Jiangli Yuan <a6808c@motorola.com>
libc/arch-arm/bionic/__bionic_clone.S