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

Allow invalid memfd_create *name arguments #3739

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Allow invalid memfd_create *name arguments #3739

merged 1 commit into from
Apr 26, 2024

Conversation

usatiuk
Copy link
Contributor

@usatiuk usatiuk commented Apr 26, 2024

Hi! I tried running Azul Prime JVM under rr, and as it seems that it's using memfd_create with NULL to check whether the kernel supports it, it broke rr. So here's a fixie, I hope it's reasonable 😄

Some applications might call it with e.g. NULL to check for memfd_create support, in these cases EFAULT should be returned
@rocallahan rocallahan merged commit 0fd5efb into rr-debugger:master Apr 26, 2024
1 of 4 checks passed
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.

2 participants