Lines Matching refs:effective
87 /// Returns effective Uid of calling process. This is practically a more Rusty alias for `geteuid`.
89 pub fn effective() -> Self {
144 /// Returns effective Gid of calling process. This is practically a more Rusty alias for `getegid`.
146 pub fn effective() -> Self {
1412 /// Get the effective user ID
1432 /// Get the effective group ID
1442 /// Set the effective user ID
1452 /// Set the effective group ID
2008 /// the effective group ID of the process or to one of its supplementary
2780 /// Sets the real, effective, and saved uid.
2784 /// * `euid`: effective user id
2796 /// Sets the real, effective, and saved gid.
2800 /// * `egid`: effective group id
2829 /// Real, effective and saved user IDs.
2833 pub effective: Uid,
2837 /// Real, effective and saved group IDs.
2841 pub effective: Gid,
2845 /// Gets the real, effective, and saved user IDs.
2851 /// - `Ok((Uid, Uid, Uid))`: tuple of real, effective and saved uids on success.
2861 Errno::result(res).map(|_| ResUid{ real: Uid(ruid), effective: Uid(euid), saved: Uid(suid) })
2864 /// Gets the real, effective, and saved group IDs.
2870 /// - `Ok((Gid, Gid, Gid))`: tuple of real, effective and saved gids on success.
2880 Errno::result(res).map(|_| ResGid { real: Gid(rgid), effective: Gid(egid), saved: Gid(sgid) } )
2936 /// by `mode` using effective UID, effective GID and supplementary group lists.
3341 /// Get the effective user ID and group ID associated with a Unix domain socket.