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

Support mmap() request with preferred address #545

Merged
merged 1 commit into from Jul 8, 2021

Conversation

bodzhang
Copy link
Collaborator

@bodzhang bodzhang commented Jul 7, 2021

For mmap(addr, ...) request with non-zero addr, if the requested mapping is not part of an existing mapping, and MAP_FIXED flag is not set, treat the request as if addr=0.

@bodzhang bodzhang requested a review from mikbras July 7, 2021 14:13
Copy link
Contributor

@mikbras mikbras left a comment

Choose a reason for hiding this comment

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

Looks good but small typo.

kernel/mman.c Outdated Show resolved Hide resolved
Fixing typo identified in code review
@bodzhang bodzhang merged commit 6a621a2 into deislabs:main Jul 8, 2021
@bodzhang bodzhang deleted the quickfix branch July 8, 2021 16:46
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.

None yet

2 participants