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

Add PTRACE_EVENT_STOP to ptrace::Event #1334

Closed
ranweiler opened this issue Nov 15, 2020 · 1 comment · Fixed by #1335
Closed

Add PTRACE_EVENT_STOP to ptrace::Event #1334

ranweiler opened this issue Nov 15, 2020 · 1 comment · Fixed by #1335

Comments

@ranweiler
Copy link
Contributor

In #749, the ptrace::Event enum was introduced, and the constant for PTRACE_EVENT_STOP was remove due to lack of support in the upstream libc crate. The reason was documented here.

Since then, rust-lang/libc#1834 added upstream support for the needed constant. For context on the libc crate's supported libc versions, see the ongoing discussion here rust-lang/libc#1412.

The upshot is that we can now reintroduce it for platforms where it is supported.

@ranweiler
Copy link
Contributor Author

ranweiler commented Nov 15, 2020

The change requested here appears to be included in an otherwise unrelated(?) open PR: #1279.

Will be closed by #1335.

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 a pull request may close this issue.

1 participant