diff options
author | Daniel McKenna <danielmckenna93@gmail.com> | 2017-06-01 21:34:36 +0100 |
---|---|---|
committer | xd009642 <danielmckenna93@gmail.com> | 2017-06-13 18:16:57 +0100 |
commit | 43a29431b63516b23016aae76d3c15bf083f091c (patch) | |
tree | e4c7221df798f533ed93819281457507b171bd67 /CHANGELOG.md | |
parent | 6783ffc206de568ca8867abe6133bdad9110211e (diff) | |
download | nix-43a29431b63516b23016aae76d3c15bf083f091c.zip |
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.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9535b1fd..9b97155d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). ([#556](https://github.com/nix-rust/nix/pull/556) - Added `nix::ptr::openpty` ([#456](https://github.com/nix-rust/nix/pull/456)) +- Added `nix::ptrace::{ptrace_get_data, ptrace_getsiginfo, ptrace_setsiginfo + and nix::Error::UnsupportedOperation}` + ([#614](https://github.com/nix-rust/nix/pull/614)) ### Changed - Marked `sys::mman::{ mmap, munmap, madvise, munlock, msync }` as unsafe. @@ -29,6 +32,10 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Changed type signature of `sys::select::FdSet::contains` to make `self` immutable ([#564](https://github.com/nix-rust/nix/pull/564)) +### Removed +- Removed io::Error from nix::Error and conversion from nix::Error to Errno + ([#614](https://github.com/nix-rust/nix/pull/614)) + ### Fixed - Fixed multiple issues compiling under different archetectures and OSes. Now compiles on Linux/MIPS ([#538](https://github.com/nix-rust/nix/pull/538)), |