8000 Use `setProtection_mmap` in `NewBrick` by devarajabc · Pull Request #2599 · ptitSeb/box64 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use setProtection_mmap in NewBrick #2599

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

Merged
merged 1 commit into from
May 3, 2025
Merged

Conversation

devarajabc
Copy link
Contributor

NewBrick() currently uses setProtection() after box_mmap(), which fails to mark the region with the MEM_MMAP label. As a result, getMmapped() returns 0, even though the memory was allocated via mmap.

NewBrick() currently uses setProtection() after box_mmap(), which fails
to mark the region with the `MEM_MMAP` label. As a result, getMmapped()
returns 0, even though the memory was allocated via mmap.

Closes ptitSeb#2598
@ptitSeb ptitSeb merged commit 5ee4385 into ptitSeb:main May 3, 2025
27 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
0