diff options
author | Luca Bruno <lucab@debian.org> | 2017-10-26 09:30:55 +0000 |
---|---|---|
committer | Luca Bruno <lucab@debian.org> | 2017-11-19 13:46:43 +0000 |
commit | 02f2edebafd3929fc0ba096e3fe38123e205bb37 (patch) | |
tree | 90fc28f7e72518fe8295eb3bdb7a5e9b7e867737 /CHANGELOG.md | |
parent | 2d270c964ca342764dc9bebc0bb404cae8022a51 (diff) | |
download | nix-02f2edebafd3929fc0ba096e3fe38123e205bb37.zip |
sys/socket: add UnixAddr abstract name getter
This introduces an `as_abstract()` getter to `UnixAddr` in order to
retrieve the name of an abstract unix socket.
This also adds tests around abstract addresses and clarify docs,
adding explicit semantics.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f09b4bed..8f906b6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Added `nix::sys::uio::{process_vm_readv, process_vm_writev}` on Linux ([#568](https://github.com/nix-rust/nix/pull/568)) - Added `nix::unistd::{getgroups, setgroups, getgrouplist, initgroups}`. ([#733](https://github.com/nix-rust/nix/pull/733)) +- Added `nix::sys::socket::UnixAddr::as_abstract` on Linux and Android. + ([#785](https://github.com/nix-rust/nix/pull/785)) ### Changed - Renamed existing `ptrace` wrappers to encourage namespacing ([#692](https://github.com/nix-rust/nix/pull/692)) @@ -69,6 +71,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Moved constants ptrace request, event and options to enums and updated ptrace functions and argument types accordingly. ([#749](https://github.com/nix-rust/nix/pull/749)) - `AioCb::Drop` will now panic if the `AioCb` is still in-progress ([#715](https://github.com/nix-rust/nix/pull/715)) +- Restricted `nix::sys::socket::UnixAddr::new_abstract` to Linux and Android only. + ([#785](https://github.com/nix-rust/nix/pull/785)) + ### Fixed - Fix compilation and tests for OpenBSD targets |