This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The tst-cputimer1 test fails on hppa. Using strace to look at the system calls generated by the test, I observed that there is a mprotect call that passes a non page-aligned addr argument and it fails with the error EINVAL. The attached change aligns the old and new guard addresses to page boundaries and fixes the failing mprotect call. A version of this patch, hppa/local-stack-grows-up.diff, has been installed in Debian for a long time. However, the old and new guard values were reversed in the compare. As a result, the mprotect call was skipped. This versions checks that the new_guard value is greater than the old_guard value. Please install. Dave -- John David Anglin dave.anglin@bell.net
Attachment:
allocatestack.d.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |