/freebsd/tools/regression/tmpfs/ |
H A D | t_create | 53 test ${st_gid} -eq ${dst_gid} || die 64 [ ${st_gid} -eq 0 ] || die 69 [ ${st_gid} -eq 100 ] || die 74 [ ${st_gid} -eq 0 ] || die 79 [ ${st_gid} -eq 100 ] || die
|
H A D | t_mkdir | 70 [ ${st_gid} -eq 0 ] || die 75 [ ${st_gid} -eq 100 ] || die 80 [ ${st_gid} -eq 0 ] || die 85 [ ${st_gid} -eq 100 ] || die
|
H A D | t_setattr | 49 [ ${st_gid} -eq ${ost_gid} ] || die 62 [ ${st_gid} -eq 5678 ] || die 74 [ ${st_gid} -eq 5678 ] || die
|
/freebsd/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_create.sh | 71 test ${st_gid} -eq ${dst_gid} || atf_fail "Incorrect gid" 79 [ ${st_gid} -eq 0 ] || atf_fail "Incorrect group" 84 [ ${st_gid} -eq 100 ] || atf_fail "Incorrect group" 89 [ ${st_gid} -eq 0 ] || atf_fail "Incorrect group" 94 [ ${st_gid} -eq 100 ] || atf_fail "Incorrect group"
|
H A D | t_mkdir.sh | 106 [ ${st_gid} -eq 0 ] || atf_fail "Incorrect group" 111 [ ${st_gid} -eq 100 ] || atf_fail "Incorrect group" 116 [ ${st_gid} -eq 0 ] || atf_fail "Incorrect group" 121 [ ${st_gid} -eq 100 ] || atf_fail "Incorrect group"
|
H A D | t_setattr.sh | 46 [ ${st_gid} -eq ${ost_gid} ] || atf_fail "gid was modified" 80 [ ${st_gid} -eq 5678 ] || atf_fail "gid was not set" 114 [ ${st_gid} -eq 5678 ] || atf_fail "gid was not modified"
|
/freebsd/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 113 if (bitset(S_ISGID, st->st_mode) && st->st_gid != 0) 115 gid = st->st_gid; 218 if (stbuf.st_gid == gid) 224 gr->gr_gid == stbuf.st_gid) || 225 (gr = getgrgid(stbuf.st_gid)) != NULL)) 332 if (st->st_gid == gid) 337 ((gr != NULL && gr->gr_gid == st->st_gid) || 338 (gr = getgrgid(st->st_gid)) != NULL)) 637 if (stbuf.st_gid == gid && 642 ((gr != NULL && gr->gr_gid == stbuf.st_gid) || [all …]
|
/freebsd/usr.sbin/chown/ |
H A D | chown.c | 197 (gid == (gid_t)-1 || gid == p->fts_statp->st_gid)) in main() 302 (uintmax_t)p->fts_statp->st_gid, in print_info() 306 (uintmax_t)p->fts_statp->st_gid : (uintmax_t)gid); in print_info() 308 printf(": %ju -> %ju", (uintmax_t)p->fts_statp->st_gid, in print_info() 310 (uintmax_t)p->fts_statp->st_gid : (uintmax_t)gid); in print_info()
|
/freebsd/bin/pax/ |
H A D | file_subs.c | 109 if (nodirs || chk_path(arcn->name,arcn->sb.st_uid,arcn->sb.st_gid) < 0) { in file_creat() 142 res = set_ids(arcn->name, arcn->sb.st_uid, arcn->sb.st_gid); in file_close() 309 if (!nodirs && chk_path(from, to_sb->st_uid, to_sb->st_gid) == 0) in mk_link() 411 if (nodirs || chk_path(arcn->name,arcn->sb.st_uid,arcn->sb.st_gid) < 0) { in node_creat() 421 res = set_ids(arcn->name, arcn->sb.st_uid, arcn->sb.st_gid); in node_creat() 541 chk_path( char *name, uid_t st_uid, gid_t st_gid) in chk_path() argument 598 (void)set_ids(name, st_uid, st_gid); in chk_path()
|
/freebsd/contrib/mtree/ |
H A D | specspec.c | 65 printf(" gid=%d", n->st_gid); in shownode() 67 gr = getgrgid(n->st_gid); in shownode() 69 printf(" gid=%d", n->st_gid); in shownode() 154 if (FF(n1, n2, F_GID, st_gid)) in compare_nodes() 156 if (FF(n1, n2, F_GNAME, st_gid)) in compare_nodes()
|
H A D | compare.c | 213 p->fts_statp->st_gid) == -1) ) in compare() 242 if (s->flags & (F_GID | F_GNAME) && s->st_gid != p->fts_statp->st_gid) { in compare() 246 tab, (u_long)s->st_gid, (u_long)p->fts_statp->st_gid); in compare() 248 if (lchown(p->fts_accpath, -1, s->st_gid)) in compare()
|
/freebsd/sys/sys/ |
H A D | stat.h | 108 __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 164 gid_t st_gid; /* group ID of the file's group */ member 198 gid_t st_gid; /* group ID of the file's group */ member
|
/freebsd/crypto/openssh/ |
H A D | sftp-common.c | 76 a->gid = st->st_gid; in stat_to_attrib() 94 st->st_gid = a->gid; in attrib_to_stat() 233 snprintf(gbuf, sizeof gbuf, "%u", (u_int)st->st_gid); in ls_file() 239 group = group_from_gid(st->st_gid, 0); in ls_file()
|
/freebsd/contrib/netbsd-tests/fs/umapfs/ |
H A D | t_basic.c | 63 if (sb.st_gid != gid) in testuidgid() 65 path, gid, sb.st_gid); in testuidgid()
|
/freebsd/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_fchownat.c | 94 ATF_REQUIRE(st.st_gid == gid); in ATF_TC_BODY() 121 ATF_REQUIRE(st.st_gid == gid); in ATF_TC_BODY() 233 ATF_REQUIRE(st.st_gid == gid); in ATF_TC_BODY()
|
/freebsd/libexec/atrun/ |
H A D | atrun.c | 214 (lbuf.st_uid != buf.st_uid) || (lbuf.st_gid != buf.st_gid) || in run_file() 551 batch_gid = buf.st_gid; in main() 557 run_file(dirent->d_name, buf.st_uid, buf.st_gid); in main()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_mkdir.c | 156 if (st_b.st_gid != st_a.st_gid) in ATF_TC_BODY()
|
H A D | t_stat.c | 263 if (gid != sa.st_gid || sa.st_gid != sb.st_gid) in ATF_TC_BODY()
|
/freebsd/sys/compat/linux/ |
H A D | linux_stats.c | 151 tbuf.st_gid = buf->st_gid; in newstat_copyout() 226 lbuf.st_gid = buf->st_gid; in old_stat_copyout() 526 lbuf.st_gid = buf->st_gid; in stat64_copyout() 680 tbuf.stx_gid = buf->st_gid; in statx_copyout()
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32.h | 174 gid_t st_gid; /* group ID of the file's group */ member 219 gid_t st_gid; member 251 gid_t st_gid; member 273 __uint16_t st_gid; member
|
/freebsd/contrib/netbsd-tests/lib/libc/ttyio/ |
H A D | t_ptm.c | 99 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave grid"); in ATF_TC_BODY() 164 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave gid"); in ATF_TC_BODY()
|
/freebsd/sys/i386/linux/ |
H A D | linux.h | 161 l_ushort st_gid; member 180 l_ushort st_gid; member 199 l_ulong st_gid; member
|
/freebsd/usr.bin/posixshmcontrol/ |
H A D | posixshmcontrol.c | 325 group_from_gid(st.st_gid, 0)); in list_shm() 327 printf("%d\t%d\t", st.st_uid, st.st_gid); in list_shm() 426 printf("group\t%s\n", group_from_gid(st.st_gid, 0)); in stat_one_shm() 429 printf("gid\t%d\n", st.st_gid); in stat_one_shm()
|
/freebsd/sys/amd64/linux32/ |
H A D | linux.h | 189 l_ushort st_gid; member 208 l_ushort st_gid; member 227 l_ulong st_gid; member
|
/freebsd/bin/mv/ |
H A D | mv.c | 192 group_from_gid((unsigned long)sb.st_gid, 0), to, YESNO); in do_move() 298 if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) { in fastcopy() 300 (u_long)sbp->st_uid, (u_long)sbp->st_gid); in fastcopy()
|