Searched defs:primary_gid (Results 1 - 1 of 1) sorted by relevance

/dovecot/src/lib/
H A Drestrict-access.c61 static void restrict_init_groups(gid_t primary_gid, gid_t privileged_gid, argument
67 if (primary_gid == getgid() && primary_gid == getegid()) {
72 if (setgid(primary_gid) == 0)
76 str_printfa(str, "setgid(%s", get_gid_str(primary_gid));
84 get_gid_str(primary_gid), get_gid_str(getegid()));
88 if (getegid() != 0 && primary_gid == getgid() &&
89 primary_gid == getegid()) {
96 if (setresgid(primary_gid, primary_gid, privileged_gi
[all...]

Completed in 11 milliseconds