From 24d0e11193336f5d39e2fddd5cdc60be20e164dc Mon Sep 17 00:00:00 2001 From: Julio Merino Date: Wed, 10 Apr 2019 21:20:11 -0400 Subject: Add unistd::{seteuid,setegid} This is for the benefit of those platforms that do not provide setresuid nor setresgid, like macOS. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG.md') 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/)) -- cgit v1.2.3