author | Jiangli Yuan <a6808c@motorola.com> | |
Wed, 10 Dec 2014 01:02:59 +0000 (17:02 -0800) | ||
committer | Elliott Hughes <enh@google.com> | |
Wed, 10 Dec 2014 18:47:01 +0000 (18:47 +0000) | ||
commit | c3d1728583907e23d1a4493e02835622514d1dd0 | |
tree | 9c6f356de681e11e860ae6565d1131f835f78979 | tree | snapshot (tar.xz tar.gz zip) |
parent | 3f1c604c9df459f5baecfdc04cbe8ecda07b70eb | commit | diff |
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>
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 | diff | blob | history |