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

i#2566 anon text: Use the app path instead of maps comments #3736

Merged
merged 2 commits into from
Jul 16, 2019

Conversation

derekbruening
Copy link
Contributor

For the application module, we use the application path obtained from
early injection or /proc/self/exe on Linux, rather than
/proc/self/maps comments. The maps comments can be unreliable in the
face of anonymous or deleted-file mremaps used for hugepage backing
and other features.

Adds a test case to the existing "burst_maps" test.

Having the right module full_path helps many cases, including the
forthcoming restartable sequences ("rseq") support for #2350.

Issue: #2566, #2350

For the application module, we use the application path obtained from
early injection or /proc/self/exe on Linux, rather than
/proc/self/maps comments.  The maps comments can be unreliable in the
face of anonymous or deleted-file mremaps used for hugepage backing
and other features.

Adds a test case to the existing "burst_maps" test.

Having the right module full_path helps many cases, including the
forthcoming restartable sequences ("rseq") support for #2350.

Issue: #2566, #2350
@derekbruening derekbruening merged commit 94813bc into master Jul 16, 2019
@derekbruening derekbruening deleted the i2566-exe-full-path branch July 16, 2019 20:04
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.

1 participant