fn set_creds(
    uid: uid_t,
    gid: gid_t
) -> Result<(Option<ScopedUid>, Option<ScopedGid>)>