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

Respect MADV_DONTDUMP #132

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Respect MADV_DONTDUMP #132

wants to merge 1 commit into from

Conversation

Jake-Shadle
Copy link
Collaborator

@Jake-Shadle Jake-Shadle commented Aug 12, 2024

This changes ptrace to look at /proc/{pid}/smaps instead of /proc/{pid}/maps so that we can detect madvise flags, notably dd MADV_DONTDUMP, and ignore writing those mappings to the minidump.

Resolves: #130

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.

Don't dump areas flagged with MADV_DONTDUMP
1 participant