/freebsd-11-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-11-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"
|
H A D | form1 | 13 gid=`echo "$ids" | sed -e 's/^.* gid=//' -e 's/ .*//'` 28 "GID:" 3 1 "$gid" 3 10 8 0 \
|
H A D | form1-both | 10 gid=`echo "$ids" | sed -e 's/^.* gid=//' -e 's/ .*//'` 26 "GID:" 3 1 "$gid" 3 10 8 0 \
|
/freebsd-11-stable/bin/pax/ |
H A D | cache.c | 54 * routines that control user, group, uid and gid caches (for the archive 63 static GIDC **gidtb = NULL; /* gid to name cache */ 65 static GIDC **grptb = NULL; /* group name to gid cache */ 236 * caches the name (if any) for the gid. If frc set, we always return the 243 name_gid(gid_t gid, int frc) argument 252 * see if we have this gid cached 254 ptr = gidtb[gid % GID_SZ]; 255 if ((ptr != NULL) && (ptr->valid > 0) && (ptr->gid == gid)) { 257 * have an entry for this gid 377 gid_name(char *name, gid_t *gid) argument [all...] |
H A D | cache.h | 52 #define GID_SZ 251 /* size of gid cache */ 58 * Node structures used in the user, group, uid, and gid caches. 69 char name[GNMLEN]; /* gid name */ 70 gid_t gid; /* cached gid */ member in struct:gidc
|
/freebsd-11-stable/contrib/pjdfstest/tests/chown/ |
H A D | 05.t | 22 expect 65534,65533 -u 65534 -g 65534 stat ${n1}/${n2} uid,gid 27 expect 65534,65533 -u 65534 -g 65534 stat ${n1}/${n2} uid,gid 29 expect 65534,65534 -u 65534 -g 65534 stat ${n1}/${n2} uid,gid 31 expect 65534,65533 -u 65534 -g 65533 stat ${n1}/${n2} uid,gid
|
H A D | 02.t | 16 expect 65534,65534 stat ${nx} uid,gid 22 expect 65534,65534 stat ${nx} uid,gid
|
H A D | 03.t | 18 expect 65534,65534 stat ${nx} uid,gid 24 expect 65534,65534 stat ${nx} uid,gid
|
H A D | 09.t | 22 expect 65534,65534 stat ${n0}/${n1} uid,gid 25 expect 65534,65534 stat ${n0}/${n1} uid,gid 28 expect 65533,65533 stat ${n0}/${n1} uid,gid
|
/freebsd-11-stable/contrib/file/src/ |
H A D | tar.h | 57 char gid[8]; member in struct:record::header
|
/freebsd-11-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-11-stable/cddl/usr.sbin/dtrace/tests/common/vars/ |
H A D | Makefile | 10 tst.gid.d \
|
/freebsd-11-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-11-stable/contrib/pjdfstest/tests/rmdir/ |
H A D | 11.t | 25 expect dir,65534,65534 lstat ${n0}/${n1} type,uid,gid 32 expect dir,65534,65534 lstat ${n0}/${n1} type,uid,gid 40 expect dir,${id},${id} lstat ${n0}/${n1} type,uid,gid 48 expect dir,${id},${id} lstat ${n0}/${n1} type,uid,gid 50 expect dir,${id},${id} lstat ${n0}/${n1} type,uid,gid
|
/freebsd-11-stable/contrib/pjdfstest/tests/unlink/ |
H A D | 11.t | 27 expect ${type},65534,65534 lstat ${n0}/${n1} type,uid,gid 35 expect ${type},${id},${id} lstat ${n0}/${n1} type,uid,gid 44 expect ${type},65534,65534 lstat ${n0}/${n1} type,uid,gid 53 expect ${type},${id},${id} lstat ${n0}/${n1} type,uid,gid 55 expect ${type},${id},${id} lstat ${n0}/${n1} type,uid,gid
|
/freebsd-11-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-11-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-11-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-11-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-11-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-11-stable/contrib/sendmail/contrib/ |
H A D | passwd-to-alias.pl | 13 ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell) = @a;
|