Skip to content

Fix Yama blocking child-to-parent ptrace#149

Merged
marti4d merged 2 commits intorust-minidump:mainfrom
marti4d:fix_yama
May 13, 2025
Merged

Fix Yama blocking child-to-parent ptrace#149
marti4d merged 2 commits intorust-minidump:mainfrom
marti4d:fix_yama

Conversation

@marti4d
Copy link
Copy Markdown
Collaborator

@marti4d marti4d commented May 7, 2025

Currently, there are three tests that fail on my Ubuntu machine because I have the Yama security module enabled, and it ensures that a process can only be ptrace()ed by its own parent.

Our testing relies on the opposite -- A child ptrace()ing its parent, which is not allowed until a call is made to prctl() to allow it.

@marti4d marti4d merged commit d974a2d into rust-minidump:main May 13, 2025
14 of 16 checks passed
@marti4d marti4d deleted the fix_yama branch June 9, 2025 15:37
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