-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#1973 musl: Don't pass SS_ONSTACK to sigaltstack in tests (#7198)
POSIX.1 requires SS_ONSTACK to appear only in a stack_t retrieved from sigaltstack(), not one passed to it. musl checks the invalid flag and will bail out with EINVAL before issuing a syscall in this case, failing the test. This commit sets ss_flags to zero instead, on both glibc and musl this should issue a syscall, which fixes assertion failures encountered in linux.signal*, api.static_signal and drcachesim.burst_threads on musl. Issue: #1973
- Loading branch information
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters