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

/solaris-x11-s12/open-src/xserver/xorg/sun-src/os/
H A Ddtlogin.c38 * When shutting down, the Xserver restores it's original uid/gid as
86 gid_t gid; /* Primary group */ member in struct:dmuser
139 originalUser.gid = getegid();
154 dmd->user.gid = (gid_t) -1;
455 dmd->user.gid = (gid_t) val;
483 if (chown(auth_file, user->uid, user->gid) < 0)
487 /* This gid dance is necessary in order to make sure
488 our "saved-set-gid" is 0 so that we can regain gid
490 The first step sets rgid to the user's gid an
[all...]
/solaris-x11-s12/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c83 gid_t gid; /* group id */ member in struct:verify_info
623 chown(envname, verify->uid, verify->gid);
695 verify.gid = getgid();

Completed in 675 milliseconds