diff options
author | Stefan Liebler <stli@linux.ibm.com> | 2024-02-22 15:03:27 +0100 |
---|---|---|
committer | Stefan Liebler <stli@linux.ibm.com> | 2024-02-27 11:07:05 +0100 |
commit | ee4806e978467d705b26ccb7dfddb9e0a710f8e4 (patch) | |
tree | 3051bba8554e73ee3785488d31ab0b29f60a9f61 /sysdeps/nptl/aio_misc.h | |
parent | 506e47da1d66b33e24440a495eeef85daf7f2a78 (diff) | |
download | glibc-release/2.38/master.tar glibc-release/2.38/master.tar.gz glibc-release/2.38/master.tar.bz2 glibc-release/2.38/master.zip |
S390: Do not clobber r7 in clone [BZ #31402]release/2.38/master
Starting with commit e57d8fc97b90127de4ed3e3a9cdf663667580935
"S390: Always use svc 0"
clone clobbers the call-saved register r7 in error case:
function or stack is NULL.
This patch restores the saved registers also in the error case.
Furthermore the existing test misc/tst-clone is extended to check
all error cases and that clone does not clobber registers in this
error case.
(cherry picked from commit 02782fd12849b6673cb5c2728cb750e8ec295aa3)
Note: Added ia64 __clone2 call to tst-clone.c.
Diffstat (limited to 'sysdeps/nptl/aio_misc.h')
0 files changed, 0 insertions, 0 deletions