Skip to content

Commit 83d19e2

Browse files
committed
unistd::initgroups: Add todo note about FreeBSD support
1 parent 140c4dc commit 83d19e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unistd.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,7 @@ pub fn setgroups(groups: &[Gid]) -> Result<()> {
10021002
/// of. The additional group `group` is also added to the list.
10031003
///
10041004
/// [Further reading](http://man7.org/linux/man-pages/man3/initgroups.3.html)
1005+
// TODO: Get initgroups binding added for FreeBSD in libc
10051006
#[cfg(any(target_os = "android", target_os = "ios", target_os = "linux", target_os = "macos"))]
10061007
pub fn initgroups(user: &CString, group: Gid) -> Result<()> {
10071008
cfg_if! {

0 commit comments

Comments
 (0)