Searched refs:st_gid (Results 26 - 50 of 120) sorted by relevance

12345

/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dhost.c105 sb->st_gid = gid;
/illumos-gate/usr/src/lib/libtsol/common/
H A Dcall_labeld.c170 st.st_gid, st.st_mode);
222 st.st_gid, st.st_mode);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnlspath_checks.c152 (statbuf->st_gid < 4 && statbuf->st_gid != 1))) {
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dfsswitch.c178 sb->st_gid = buf.st_gid;
/illumos-gate/usr/src/lib/libpkg/common/
H A Dverify.c749 grp = cgrgid(status.st_gid);
755 reperr(pkg_gt(ERR_BADGRPID), status.st_gid);
757 gid = status.st_gid;
762 } else if ((gid = grp->gr_gid) != status.st_gid) {
768 if ((grp = cgrgid((int)status.st_gid)) ==
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcksum.c244 (st->st_gid != state->gid && ((st->st_mode & S_ISGID) || (st->st_mode & S_IRGRP) && !(st->st_mode & S_IROTH) || (st->st_mode & S_IXGRP) && !(st->st_mode & S_IXOTH))) ? fmtgid(st->st_gid) : "-");
338 if (gid < 0 || gid == st.st_gid)
H A Dcp.c197 n = ((ns->st_uid != os->st_uid) << 1) | (ns->st_gid != os->st_gid);
198 if (n && chown(state->path, os->st_uid, os->st_gid))
202 error(ERROR_SYSTEM|2, "%s: cannot reset group to %s", path, fmtgid(os->st_gid));
208 error(ERROR_SYSTEM|2, "%s: cannot reset owner to %s and group to %s", path, fmtuid(os->st_uid), fmtgid(os->st_gid));
/illumos-gate/usr/src/lib/libproc/common/
H A DPfdinfo.c123 info->pr_gid = stat.st_gid;
H A Dpr_stat.c52 dest->st_gid = (gid_t)src->st_gid;
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dsystem.c140 } else if (getgid() == buf.st_gid) {
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dgroups.c90 fchown(fd, sbuf.st_uid, sbuf.st_gid) != 0) {
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.h279 gid_t st_gid; /* actual gid */ member in struct:cpioinfo
/illumos-gate/usr/src/cmd/fs.d/smbclnt/chacl/
H A Dchacl.c191 gid = st.st_gid;
/illumos-gate/usr/src/uts/common/syscall/
H A Dstat.c237 sb.st_gid = vattr.va_gid;
360 sb.st_gid = vattr.va_gid;
468 lsb.st_gid = vattr.va_gid;
587 lsb.st_gid = vattr.va_gid;
/illumos-gate/usr/src/lib/pam_modules/timestamp/
H A Dpam_timestamp.c128 if (sb.st_uid != 0 || sb.st_gid != 0) {
237 if (sb.st_uid != 0 || sb.st_gid != 0) {
/illumos-gate/usr/src/cmd/pwconv/
H A Dpwconv.c160 pwd_gid = buf.st_gid;
189 sp_gid = buf.st_gid;
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dtest.c409 return(statb.st_gid==sh.groupid);
599 else if(sh.egroupid == statb.st_gid)
621 if(groups[n] == statb.st_gid)
H A Dshiocmd_solaris.c406 { "gid", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_gid), sizeof(Sp->st_gid)},
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c248 fchown(npwfd, pwstat.st_uid, pwstat.st_gid);
272 fchown(nspfd, spstat.st_uid, spstat.st_gid);
298 fchown(nadjfd, adjstat.st_uid, adjstat.st_gid);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_patch.c115 if (fchown(fileno(tfp), sbuf.st_uid, sbuf.st_gid) != 0) {
H A Dmeta_systemfile.c117 (fchown(fileno(*tfp), sbuf.st_uid, sbuf.st_gid)
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dacl_api.c310 gid = st.st_gid;
/illumos-gate/usr/src/cmd/syseventd/modules/devfsadmd_mod/
H A Ddevfsadmd_mod.c103 ((getegid() == st.st_gid) && ((st.st_mode & S_IXGRP) == 0)) ||
/illumos-gate/usr/src/common/fs/
H A Dbootfsops.c292 bsp->st_uid = bsp->st_gid = 0;
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c470 acls->acl_attr.st_gid =
490 acls->acl_attr.st_uid, acls->acl_attr.st_gid,
1342 (void) fchown(fd, st.st_uid, st.st_gid);
1459 acls->acl_attr.st_gid = oct_atoi(tar_hdr->th_gid);
1464 acls->acl_attr.st_uid, acls->acl_attr.st_gid);
2099 "mode %o", name, st->st_uid, st->st_gid, acls->uname, acls->gname,
2109 gid = st->st_gid;

Completed in 94 milliseconds

12345