/freebsd-12-stable/contrib/pjdfstest/tests/link/ |
H A D | 00.t | 37 expect ${type},0201,3,65534,65533 lstat ${n0} type,mode,nlink,uid,gid 38 expect ${type},0201,3,65534,65533 lstat ${n1} type,mode,nlink,uid,gid 39 expect ${type},0201,3,65534,65533 lstat ${n2} type,mode,nlink,uid,gid 42 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid 43 expect ${type},0201,2,65534,65533 lstat ${n1} type,mode,nlink,uid,gid 44 expect ${type},0201,2,65534,65533 lstat ${n2} type,mode,nlink,uid,gid 47 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid 48 expect ${type},0201,1,65534,65533 lstat ${n1} type,mode,nlink,uid,gid 49 expect ENOENT lstat ${n2} type,mode,nlink,uid,gid 52 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid [all...] |
/freebsd-12-stable/lib/libcasper/services/cap_grp/ |
H A D | cap_grp.h | 42 struct group *cap_getgrgid(cap_channel_t *chan, gid_t gid); 48 int cap_getgrgid_r(cap_channel_t *chan, gid_t gid, struct group *grp, 64 #define cap_getgrgid(chan, gid) getgrgid(gid) 80 #define cap_getgrgid_r(chan, gid, grp, buffer, bufsize, result) \ 81 getgrgid_r(gid, grp, buffer, bufsize, result)
|
/freebsd-12-stable/contrib/pjdfstest/tests/chown/ |
H A D | 05.t | 23 expect 65534,65533 -u 65534 -g 65534 stat ${n1}/${n2} uid,gid 28 expect 65534,65533 -u 65534 -g 65534 stat ${n1}/${n2} uid,gid 30 expect 65534,65534 -u 65534 -g 65534 stat ${n1}/${n2} uid,gid 32 expect 65534,65533 -u 65534 -g 65533 stat ${n1}/${n2} uid,gid
|
H A D | 02.t | 17 expect 65534,65534 stat ${nx} uid,gid 23 expect 65534,65534 stat ${nx} uid,gid
|
H A D | 03.t | 19 expect 65534,65534 stat ${nx} uid,gid 25 expect 65534,65534 stat ${nx} uid,gid
|
H A D | 09.t | 23 expect 65534,65534 stat ${n0}/${n1} uid,gid 26 expect 65534,65534 stat ${n0}/${n1} uid,gid 29 expect 65533,65533 stat ${n0}/${n1} uid,gid
|
/freebsd-12-stable/contrib/atf/atf-c/detail/ |
H A D | user.c | 46 atf_user_is_member_of_group(gid_t gid) argument 60 if (groups[i] == gid)
|
/freebsd-12-stable/contrib/dialog/samples/ |
H A D | inputmenu1 | 12 gid=`echo "$ids" | sed -e 's/^.* gid=//' -e 's/ .*//'` 28 "GID:" "$gid" \ 56 -g $gid \n\ 71 gid="$item"
|
H A D | inputmenu2 | 12 gid=`echo "$ids" | sed -e 's/^.* gid=//' -e 's/ .*//'` 32 "GID:" "$gid" \ 64 -g $gid \n\ 79 gid="$item"
|
H A D | inputmenu3 | 12 gid=`echo "$ids" | sed -e 's/^.* gid=//' -e 's/ .*//'` 33 "GID:" "$gid" "Group-ID (number)" \ 67 -g $gid \n\ 88 gid="$item"
|
H A D | inputmenu4 | 12 gid=`echo "$ids" | sed -e 's/^.* gid=//' -e 's/ .*//'` 29 "GID:" "$gid" \ 57 -g $gid \n\ 72 gid="$item"
|
/freebsd-12-stable/bin/pax/ |
H A D | cache.c | 56 * routines that control user, group, uid and gid caches (for the archive 65 static GIDC **gidtb = NULL; /* gid to name cache */ 67 static GIDC **grptb = NULL; /* group name to gid cache */ 238 * caches the name (if any) for the gid. If frc set, we always return the 245 name_gid(gid_t gid, int frc) argument 254 * see if we have this gid cached 256 ptr = gidtb[gid % GID_SZ]; 257 if ((ptr != NULL) && (ptr->valid > 0) && (ptr->gid == gid)) { 259 * have an entry for this gid 379 gid_name(char *name, gid_t *gid) argument [all...] |
H A D | cache.h | 54 #define GID_SZ 251 /* size of gid cache */ 60 * Node structures used in the user, group, uid, and gid caches. 71 char name[GNMLEN]; /* gid name */ 72 gid_t gid; /* cached gid */ member in struct:gidc
|
/freebsd-12-stable/contrib/ofed/libibmad/ |
H A D | resolve.c | 80 int ib_resolve_gid_via(ib_portid_t * portid, ibmad_gid_t gid, argument 96 ib_path_query_via(srcport, gid, gid, sm_id, buf)) < 0) 127 memcpy(&prefix, portid->gid, sizeof(prefix)); 129 mad_set_field64(portid->gid, 0, IB_GID_PREFIX_F, 132 mad_set_field64(portid->gid, 0, IB_GID_GUID_F, *guid); 135 ib_path_query_via(srcport, selfgid, portid->gid, sm_id, buf)) < 0) 146 ibmad_gid_t gid; local 200 if (inet_pton(AF_INET6, addr_str, &gid) <= 0) 202 return ib_resolve_gid_via(portid, gid, sm_i 218 ib_resolve_self_via(ib_portid_t * portid, int *portnum, ibmad_gid_t * gid, const struct ibmad_port *srcport) argument 246 ib_resolve_self(ib_portid_t * portid, int *portnum, ibmad_gid_t * gid) argument [all...] |
/freebsd-12-stable/contrib/libc-pwcache/ |
H A D | pwcache.h | 54 #define GID_SZ 251 /* size of gid to group_name cache */ 55 #define GNM_SZ 251 /* size of group_name to gid cache */ 60 * Node structures used in the user, group, uid, and gid caches. 71 char name[GNMLEN]; /* gid name */ 72 gid_t gid; /* cached gid */ member in struct:gidc
|
/freebsd-12-stable/contrib/file/src/ |
H A D | tar.h | 57 char gid[8]; member in struct:record::header
|
/freebsd-12-stable/cddl/usr.sbin/dtrace/tests/common/vars/ |
H A D | Makefile | 10 tst.gid.d \
|
/freebsd-12-stable/contrib/pjdfstest/tests/rmdir/ |
H A D | 11.t | 26 expect dir,65534,65534 lstat ${n0}/${n1} type,uid,gid 33 expect dir,65534,65534 lstat ${n0}/${n1} type,uid,gid 41 expect dir,${id},${id} lstat ${n0}/${n1} type,uid,gid 49 expect dir,${id},${id} lstat ${n0}/${n1} type,uid,gid 51 expect dir,${id},${id} lstat ${n0}/${n1} type,uid,gid
|
/freebsd-12-stable/contrib/pjdfstest/tests/unlink/ |
H A D | 11.t | 28 expect ${type},65534,65534 lstat ${n0}/${n1} type,uid,gid 36 expect ${type},${id},${id} lstat ${n0}/${n1} type,uid,gid 45 expect ${type},65534,65534 lstat ${n0}/${n1} type,uid,gid 54 expect ${type},${id},${id} lstat ${n0}/${n1} type,uid,gid 56 expect ${type},${id},${id} lstat ${n0}/${n1} type,uid,gid
|
/freebsd-12-stable/sys/dev/mthca/ |
H A D | mthca_mcg.c | 42 u8 gid[16]; member in struct:mthca_mgm 49 * Caller must hold MCG table semaphore. gid and mgm parameters must 60 * If no AMGM exists for given gid, *index = -1, *prev = index of last 64 u8 *gid, struct mthca_mailbox *mgm_mailbox, 77 memcpy(mgid, gid, 16); 86 mthca_dbg(dev, "Hash for %pI6 is %04x\n", gid, *hash); 98 if (!memcmp(mgm->gid, zero_gid, 16)) { 106 if (!memcmp(mgm->gid, gid, 16)) 120 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u1 argument 63 find_mgm(struct mthca_dev *dev, u8 *gid, struct mthca_mailbox *mgm_mailbox, u16 *hash, int *prev, int *index) argument 214 mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument [all...] |
/freebsd-12-stable/contrib/netbsd-tests/fs/umapfs/ |
H A D | t_basic.c | 43 xchown(const char *path, uid_t uid, gid_t gid) argument 46 if (rump_sys_chown(path, uid, gid) == -1) 51 testuidgid(const char *path, uid_t uid, gid_t gid) argument 62 if (gid != (gid_t)-1) { 63 if (sb.st_gid != gid) 64 atf_tc_fail("%s: expected gid %d, got %d", 65 path, gid, sb.st_gid);
|
/freebsd-12-stable/tests/sys/acl/ |
H A D | run | 161 my ($login, $pass, $uid, $gid) = getpwnam($user) 168 my ($group, $passwd, $gid, $users) = split /:/; 170 push @groups, $gid 176 my $groups = join(" ", ($gid, $gid, @groups)); 180 $( = $gid; 200 my $gid = getgrnam($group) 202 my %groups = map { $_ eq $gid ? () : ($_ => 1) } (split /\s/, $)); 205 my $groups = join(" ", ($gid, $gid, key [all...] |
/freebsd-12-stable/contrib/sendmail/libsm/ |
H A D | t-sem.c | 131 drop_priv(uid, gid) 133 gid_t gid; 137 r = setgid(gid); 158 semtest(owner, uid, gid) 161 gid_t gid; 168 r = drop_priv(uid, gid); 186 r = sm_semsetowner(semid, uid, gid, 0660); 192 r = drop_priv(uid, gid); 327 gid_t gid; local 330 gid [all...] |
/freebsd-12-stable/contrib/netbsd-tests/sbin/fsck_ffs/ |
H A D | quotas_common.sh | 8 local gid=$(id -g) 15 -o 'match:GROUP QUOTA MISMATCH FOR ID '${gid}': 0/0 SHOULD BE 1/1' \
|
/freebsd-12-stable/contrib/sendmail/contrib/ |
H A D | passwd-to-alias.pl | 13 ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell) = @a;
|