summaryrefslogtreecommitdiff
path: root/src/sys/ptrace.rs
AgeCommit message (Collapse)Author
2017-07-17Refactor ptrace_get_dataBryant Mairs
The boxing and unboxing was unnecessary and instead the references to the type on the stack can just be cast.
2017-07-17Fix UnsupportedOperation when using ptrace_* functionsBryant Mairs
2017-07-08Enable ptrace on all Linux platformsGeoffrey Thomas
Nothing that nix currently binds is architecture-specific, and Android supports ptrace just as much as non-Android Linux.
2017-07-02Newtypes for uid_t, gid_t and pid_t.Martin Habovštiak
2017-06-13Added ptrace utilities.Daniel McKenna
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.
2016-04-14fixed a few clippy warningsAndre Bogus
2016-01-28Move errno::Result back to crate rootarcnmx
2016-01-28Errno::result()arcnmx
2015-12-03add function for handling PTRACE_SETOPTIONS nicelyDavid Roundy
2015-07-06Use c_long in ptrace fns for arch-independenceTilde Engineering
2015-07-03Add support for ptraceJoseph Kain
Closes #138