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

Added ptrace utilities. #614

Merged
merged 1 commit into from
Jun 13, 2017
Merged

Added ptrace utilities. #614

merged 1 commit into from
Jun 13, 2017

Commits on Jun 13, 2017

  1. Added ptrace utilities.

    Some ptrace functions return structures through the data argument. This commit adds utilities to return data through this mechanism and function specialisations for a few of these functions (getting event messages or the siginfo_t struct). Once the next version of libc is released these utilities will be expanded to include the fpregs and user_regs structs.
    
    Ptrace requests that are now satisfied by a more specific public function will return an unsupported operation error. This has involved adding an UnsupportedOperation to the nix::Error enum and removed the mapping from Error to Errno and from Error to std::io::Error.
    xd009642 committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    43a2943 View commit details
    Browse the repository at this point in the history