diff options
author | Julio Merino <julio@meroh.net> | 2019-04-10 21:20:11 -0400 |
---|---|---|
committer | Julio Merino <julio@meroh.net> | 2019-04-11 06:28:33 -0400 |
commit | 24d0e11193336f5d39e2fddd5cdc60be20e164dc (patch) | |
tree | 5491a704acf48496f683eacd0e996b7817294f5a /CHANGELOG.md | |
parent | 179bcb5625af410efa934773b1476124fd597767 (diff) | |
download | nix-24d0e11193336f5d39e2fddd5cdc60be20e164dc.zip |
Add unistd::{seteuid,setegid}
This is for the benefit of those platforms that do not provide setresuid
nor setresgid, like macOS.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index bddfb522..e1317aaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). ([#1036](https://github.com/nix-rust/nix/pull/1036)) - Added `from_std` and `to_std` methods for `sys::socket::IpAddr` ([#1043](https://github.com/nix-rust/nix/pull/1043)) +- Added `nix::unistd:seteuid` and `nix::unistd::setegid` for those platforms that do + not support `setresuid` nor `setresgid` respectively. + ([#1044](https://github.com/nix-rust/nix/pull/1044)) ### Changed - `PollFd` event flags renamed to `PollFlags` ([#1024](https://github.com/nix-rust/nix/pull/1024/)) |