Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(z): Address inconsistent mremap return arguments with arm64 #309

Merged

Conversation

matthewmcneely
Copy link
Contributor

@matthewmcneely matthewmcneely commented Oct 10, 2022

This PR adds a specific arm64 implementation for the mremap function which ignores the second return argument from the syscall. All other Linux implementations are unchanged.

This PR reworks an earlier PR so that the functionality on non-arm64 platforms remains the same.

Tested on Linux amd64 and Linux arm64.

Copy link
Contributor

@joshua-goldstein joshua-goldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@joshua-goldstein joshua-goldstein merged commit 8c5987e into main Oct 10, 2022
@joshua-goldstein joshua-goldstein deleted the matthewmcneely/create-cpu-specific-linux-mremap-modules branch October 10, 2022 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants