priv_sep

Privilege separation library.
git clone https://git.philomathiclife.com/repos/priv_sep
Log | Files | Refs | README

commit 74e12a42869dc02ac50828a7064725137c0deca6
parent 4637e015b5ac42b6ff866422c6d0b50531c4541a
Author: Zack Newman <zack@philomathiclife.com>
Date:   Tue,  7 Oct 2025 20:59:33 -0600

fix mac doc example

Diffstat:
Msrc/lib.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib.rs b/src/lib.rs @@ -960,7 +960,7 @@ pub fn setgroups(groups: &[Gid]) -> Result<(), Errno> { /// # Examples /// /// ```no_run -// # #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "linux", target_os = "netbsd", target_os = "openbsd"))] +/// # #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "linux", target_os = "netbsd", target_os = "openbsd"))] /// assert!(priv_sep::drop_supplementary_groups().is_ok()); /// ``` #[cfg_attr(