Skip to content

Conversation

sunfishcode
Copy link
Member

If the ELF image pointed to by the AT_SYSINFO_EHDR AUX record doesn't match the architecture rustix is compiled for, don't use it, but do continue to use the rest of the AUX fields.

Fixes #1465.

If the ELF image pointed to by the `AT_SYSINFO_EHDR` AUX record doesn't
match the architecture rustix is compiled for, don't use it, but do
continue to use the rest of the AUX fields.

Fixes #1465.
@sunfishcode sunfishcode reopened this Jun 28, 2025
@sunfishcode sunfishcode merged commit 000814c into main Jul 15, 2025
73 of 149 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/j-mismatched-sysinfo-ehdr branch July 15, 2025 14:46
sunfishcode added a commit that referenced this pull request Jul 15, 2025
#1484)

* Don't let a mismatch AT_SYSINFO_EHDR image preclude use of AUX values.

If the ELF image pointed to by the `AT_SYSINFO_EHDR` AUX record doesn't
match the architecture rustix is compiled for, don't use it, but do
continue to use the rest of the AUX fields.

Fixes #1465.

* Fix a warning.
sunfishcode added a commit that referenced this pull request Jul 15, 2025
#1484)

* Don't let a mismatch AT_SYSINFO_EHDR image preclude use of AUX values.

If the ELF image pointed to by the `AT_SYSINFO_EHDR` AUX record doesn't
match the architecture rustix is compiled for, don't use it, but do
continue to use the rest of the AUX fields.

Fixes #1465.

* Fix a warning.
@sunfishcode
Copy link
Member Author

This is now released in rustix 1.0.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic in page_size if platform of docker base image does not match

1 participant