diff options
author | Will Newton <will.newton@linaro.org> | 2014-02-25 14:29:32 +0000 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-04-17 11:39:50 +0100 |
commit | e04a4e9d2e639a7770e1c0d24ecbcf92abf6bba8 (patch) | |
tree | dc57034fa71ff8f0701d8a1f4ad9a584f2ae0c77 /ChangeLog | |
parent | 37d350073888887637aa67dddf988d9c4b226032 (diff) | |
download | glibc-e04a4e9d2e639a7770e1c0d24ecbcf92abf6bba8.tar.gz glibc-e04a4e9d2e639a7770e1c0d24ecbcf92abf6bba8.tar.xz glibc-e04a4e9d2e639a7770e1c0d24ecbcf92abf6bba8.zip |
stdlib/tst-setcontext.c: Check for clobbering of signal stack
On aarch64 calling swapcontext clobbers the state of the signal stack (BZ #16629). Check that the address and size of the signal stack before and after the call to swapcontext remains the same. ChangeLog: 2014-04-17 Will Newton <will.newton@linaro.org> [BZ #16629] * stdlib/tst-setcontext.c: Include signal.h. (main): Check that the signal stack before and after swapcontext is the same.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 55dcc2b652..1dd40fcf2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ 2014-04-17 Will Newton <will.newton@linaro.org> [BZ #16629] + * stdlib/tst-setcontext.c: Include signal.h. + (main): Check that the signal stack before and + after swapcontext is the same. + * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Re-implement to restore registers in user code and avoid rt_sigreturn system call. |