Home
last modified time | relevance | path

Searched refs:st_gid (Results 1 – 25 of 115) sorted by relevance

12345

/illumos-gate/usr/src/ucbcmd/vipw/
H A Dvipw.c127 if (((osbuf.st_gid != sbuf.st_gid) || in main()
129 (chown(passwd, osbuf.st_uid, osbuf.st_gid) < 0)) { in main()
167 if (((osbuf.st_gid != sbuf.st_gid) || in main()
169 (chown(passwd, osbuf.st_uid, osbuf.st_gid) < 0)) { in main()
177 } else if (((oshdbuf.st_gid != shdbuf.st_gid) || in main()
179 (chown(shadow, oshdbuf.st_uid, oshdbuf.st_gid) < 0)) { in main()
/illumos-gate/usr/src/uts/common/sys/
H A Dstat.h78 gid_t st_gid; member
95 gid_t st_gid; member
116 gid_t st_gid;
138 gid_t st_gid;
223 gid_t st_gid;
249 gid_t st_gid;
284 gid_t st_gid;
310 gid_t st_gid;
357 gid32_t st_gid; member
382 gid32_t st_gid; member
H A Dbootstat.h56 int32_t st_gid; member
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c116 gid = st->st_gid;
219 if (stbuf.st_gid == gid)
225 gr->gr_gid == stbuf.st_gid) ||
226 (gr = getgrgid(stbuf.st_gid)) != NULL))
333 if (st->st_gid == gid)
338 ((gr != NULL && gr->gr_gid == st->st_gid) ||
339 (gr = getgrgid(st->st_gid)) != NULL))
638 if (stbuf.st_gid == gid &&
644 (gr = getgrgid(stbuf.st_gid)) != NULL))
891 sta.st_gid != stb->st_gid)
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtls.c79 s += sfsprintf(s, LS_W_MAX, " %-*I*d", LS_W_NAME - 1, sizeof(st->st_gid), st->st_gid); in fmtls()
81 s += sfsprintf(s, LS_W_MAX, " %-*s", LS_W_NAME - 1, fmtgid(st->st_gid)); in fmtls()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpiostat.c61 TmpSt->st_gid = FromStat->st_gid; in stat_to_svr32_stat()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dchgrp.c307 gid = st.st_gid; in b_chgrp()
436 keys[0].gid = keys[2].gid = ent->fts_statp->st_gid; in b_chgrp()
460 gid = ent->fts_statp->st_gid; in b_chgrp()
471 if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) in b_chgrp()
478 ent->fts_statp->st_gid = 0; in b_chgrp()
480 …d gid:%05d->%05d %s\n", op, ent->fts_statp->st_uid, uid, ent->fts_statp->st_gid, gid, ent->fts_pat… in b_chgrp()
/illumos-gate/usr/src/cmd/truss/
H A Dstat.c78 statb.st_gid); in show_stat32()
123 statb.st_gid); in show_stat64_32()
167 statb.st_gid); in show_stat64()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Deaccess.c89 else if (egid == st.st_gid)
120 if (groups[n] == st.st_gid)
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h109 __uint16_t st_gid; /* group ID of the file's group */ member
128 gid_t st_gid; /* group ID of the file's group */ member
159 gid_t st_gid; /* group ID of the file's group */ member
/illumos-gate/usr/src/lib/libpkg/common/
H A Dverify.c749 grp = cgrgid(status.st_gid); in averify()
755 reperr(pkg_gt(ERR_BADGRPID), status.st_gid); in averify()
757 gid = status.st_gid; in averify()
762 } else if ((gid = grp->gr_gid) != status.st_gid) { in averify()
768 if ((grp = cgrgid((int)status.st_gid)) == in averify()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsuid_exec.c211 effgid = statb.st_gid; in main()
307 else if(egroupid == statb.st_gid) in eaccess()
329 if(groups[n] == statb.st_gid) in eaccess()
/illumos-gate/usr/src/cmd/sed/
H A Dmain.c435 (sb.st_gid != nsb.st_gid)) && in mf_fgets()
436 (fchown(fileno(outfile), sb.st_uid, sb.st_gid) in mf_fgets()
/illumos-gate/usr/src/lib/libtsol/common/
H A Dcall_labeld.c170 st.st_gid, st.st_mode); in __call_labeld()
222 st.st_gid, st.st_mode); in __call_labeld()
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dfsswitch.c178 sb->st_gid = buf.st_gid; in fstat()
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dfile.c51 if( (statbuf.st_gid == gid) &&
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dstrsave.c74 else if (getegid() == s.st_gid) in eaccess()
/illumos-gate/usr/src/cmd/bnu/
H A Dstrsave.c76 else if( getegid() == s.st_gid )
/illumos-gate/usr/src/uts/common/syscall/
H A Dstat.c237 sb.st_gid = vattr.va_gid; in cstat()
360 sb.st_gid = vattr.va_gid; in cstat32()
468 lsb.st_gid = vattr.va_gid; in cstat64()
587 lsb.st_gid = vattr.va_gid; in cstat64_32()
/illumos-gate/usr/src/cmd/oamuser/group/
H A Ddel_group.c81 fchown(fd, sbuf.st_uid, sbuf.st_gid) != 0) { in del_group()
H A Dadd_group.c72 fchown(fileno(etctmp), sb.st_uid, sb.st_gid) != 0 ||
H A Dmod_group.c81 fchown(fd, sbuf.st_uid, sbuf.st_gid) != 0) { in mod_group()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathshell.c88 if (rg != eg && st.st_gid == rg) in pathshell()
/illumos-gate/usr/src/cmd/acct/
H A Daccton.c93 if (s->st_uid != admuid || s->st_gid != (gid_t)admuid) in ckfile()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_stat.c80 lsb.st_gid = vattr.va_gid; in fake_stat()

12345