/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.gid.d | 31 * collect gid at every fbt probe and at every firing of a 37 @a[gid] = count(); 42 @a[gid] = count();
|
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/ |
H A D | tst.gid.d | 32 /curpsinfo->pr_gid == gid/ 39 printf("%d != %d\n", curpsinfo->pr_gid, gid);
|
/freebsd-10.0-release/contrib/libarchive/cpio/test/ |
H A D | test_owner_parse.c | 64 skipping("No uid/gid configuration for this OS"); 66 int uid, gid; 68 assert(NULL == owner_parse(ROOT, &uid, &gid)); 71 assertEqualInt(-1, gid); 74 assert(NULL == owner_parse(ROOT ":", &uid, &gid)); 77 assert(int_in_list(gid, root_gids, 80 assert(NULL == owner_parse(ROOT ".", &uid, &gid)); 83 assert(int_in_list(gid, root_gids, 86 assert(NULL == owner_parse("111", &uid, &gid)); 88 assertEqualInt(-1, gid); [all...] |
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting/ |
H A D | tst.gid.d | 41 printf("The gid is %d\n", $gid);
|
H A D | tst.gid.ksh | 32 # To verify gid of the child process. 54 /\$gid != \$1/ 60 /\$gid == \$1/ 72 groupid=`ps -o pid,gid | grep "$$ " | awk '{print $2}' 2>/dev/null`
|
/freebsd-10.0-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-getpeereid.c | 28 getpeereid(int s, uid_t *euid, gid_t *gid) argument 36 *gid = cred.gid; 47 getpeereid(int s, uid_t *euid, gid_t *gid) argument 55 if ((*gid = ucred_getrgid(ucred)) == -1) 64 getpeereid(int s, uid_t *euid, gid_t *gid) argument 67 *gid = getgid();
|
H A D | pwcache.c | 83 group_from_gid(gid_t gid, int nogroup) argument 86 gid_t gid; member in struct:ncache 94 cp = c_gid + (gid & MASK); 95 if (cp->gid != gid || cp->name == NULL) { 102 if ((gr = getgrgid(gid)) == NULL) { 105 (void)snprintf(nbuf, sizeof(nbuf), "%u", gid); 107 cp->gid = gid;
|
/freebsd-10.0-release/etc/ |
H A D | rc.bsdextended | 64 #${CMD} add subject gid 80 object not gid 80 mode rxws; 69 #${CMD} add subject gid 26 object gid 54 mode rxws; 74 ${CMD} add subject gid 0 object not gid 0 mode arxws; 79 #${CMD} add subject gid 54 object not gid 54 mode rxws; 84 ${CMD} add subject gid 7 object not gid [all...] |
/freebsd-10.0-release/contrib/dialog/samples/ |
H A D | form2 | 10 gid=`echo "$ids" | sed -e 's/^.* gid=//' -e 's/ .*//'` 25 "1 GID:" 3 1 "$gid" 3 12 10 10 \ 29 "2 GID:" 7 1 "$gid" 7 12 10 10 \ 33 "3 GID:" 11 1 "$gid" 11 12 10 10 \ 37 "4 GID:" 15 1 "$gid" 15 12 10 10 \ 41 "5 GID:" 19 1 "$gid" 19 12 10 10 \ 45 "6 GID:" 23 1 "$gid" 23 12 10 10 \ 49 "7 GID:" 27 1 "$gid" 27 12 10 10 \
|
H A D | inputmenu | 9 gid=`id|sed -e 's/^.*gid=//' -e 's/(.*//'` 22 "GID:" "$gid" \ 43 -g $gid \n\ 54 GID) gid="$item" ;;
|
H A D | inputmenu-stdout | 9 gid=`id|sed -e 's/^.*gid=//' -e 's/(.*//'` 21 "GID:" "$gid" \ 41 -g $gid \n\ 52 GID) gid="$item" ;;
|
H A D | inputmenu1 | 12 gid=`echo "$ids" | sed -e 's/^.* gid=//' -e 's/ .*//'` 28 "GID:" "$gid" \ 56 -g $gid \n\ 71 gid="$item"
|
/freebsd-10.0-release/tools/regression/pjdfstest/tests/chown/ |
H A D | 00.t | 29 expect 123,456 lstat ${n0} uid,gid 31 expect 0,0 lstat ${n0} uid,gid 34 uidgid=`${fstest} lstat ${n1} uid,gid` 36 expect 123,456 stat ${n1} uid,gid 37 expect 123,456 stat ${n0} uid,gid 38 expect ${uidgid} lstat ${n1} uid,gid 50 expect 123,456 lstat ${n0} uid,gid 59 # gid he is setting is in his groups list. 65 expect 65534,65533 lstat ${n0} uid,gid 67 expect 65534,65532 lstat ${n0} uid,gid [all...] |
H A D | 08.t | 27 expect 0,0 stat ${n0} uid,gid 30 expect 65534,65534 stat ${n0} uid,gid 36 expect 65534,65534 stat ${n0} uid,gid 45 expect 65534,65534 stat ${n0} uid,gid 53 expect 0,0 stat ${n0} uid,gid 56 expect 65534,65534 stat ${n0} uid,gid 62 expect 0,0 stat ${n0} uid,gid 65 expect 65534,65534 stat ${n0} uid,gid 71 expect 65534,65534 stat ${n0} uid,gid 78 expect 0,0 stat ${n0} uid,gid [all...] |
/freebsd-10.0-release/contrib/ofed/libibverbs/examples/ |
H A D | pingpong.h | 44 void wire_gid_to_gid(const char *wgid, union ibv_gid *gid); 45 void gid_to_wire_gid(const union ibv_gid *gid, char wgid[]);
|
H A D | devinfo.c | 53 static int null_gid(union ibv_gid *gid) argument 55 return !(gid->raw[8] | gid->raw[9] | gid->raw[10] | gid->raw[11] | 56 gid->raw[12] | gid->raw[13] | gid->raw[14] | gid->raw[15]); 161 union ibv_gid gid; local [all...] |
/freebsd-10.0-release/tools/regression/mac/mac_portacl/ |
H A D | nobody.t | 21 bind_test fl fl gid nobody tcp 77 22 bind_test ok ok gid nobody tcp 7777 23 bind_test fl fl gid nobody udp 77 24 bind_test ok ok gid nobody udp 7777 33 bind_test fl fl gid nobody tcp 77 34 bind_test ok ok gid nobody tcp 7777 35 bind_test fl fl gid nobody udp 77 36 bind_test ok ok gid nobody udp 7777 47 bind_test fl fl gid nobody tcp 77 48 bind_test fl ok gid nobod [all...] |
H A D | root.t | 18 bind_test ok ok gid root tcp 77 19 bind_test ok ok gid root tcp 7777 20 bind_test ok ok gid root udp 77 21 bind_test ok ok gid root udp 7777 32 bind_test fl ok gid root tcp 77 33 bind_test ok ok gid root tcp 7777 34 bind_test fl ok gid root udp 77 35 bind_test ok ok gid root udp 7777 46 bind_test fl ok gid root tcp 77 47 bind_test fl ok gid roo [all...] |
/freebsd-10.0-release/sys/ofed/include/rdma/ |
H A D | ib_addr.h | 124 union ib_gid *gid) 126 memcpy(gid, dev_addr->broadcast + 4, sizeof *gid); 134 static inline void iboe_mac_vlan_to_ll(union ib_gid *gid, u8 *mac, u16 vid) argument 136 memset(gid->raw, 0, 16); 137 *((u32 *)gid->raw) = cpu_to_be32(0xfe800000); 139 gid->raw[12] = vid & 0xff; 140 gid->raw[11] = vid >> 8; 142 gid->raw[12] = 0xfe; 143 gid 123 ib_addr_get_mgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument 165 iboe_addr_get_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument 180 rdma_addr_get_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument 190 rdma_addr_set_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument 195 rdma_addr_get_dgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument 200 rdma_addr_set_dgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument [all...] |
/freebsd-10.0-release/tools/regression/pjdfstest/tests/granular/ |
H A D | 04.t | 21 # ACL_WRITE_OWNER permits to set gid to our own only. 23 expect 0,0 lstat ${n0} uid,gid 25 expect 0,0 lstat ${n0} uid,gid 28 expect 0,0 lstat ${n0} uid,gid 30 expect 0,65532 lstat ${n0} uid,gid 35 expect 0,0 lstat ${n0} uid,gid 37 expect 0,0 lstat ${n0} uid,gid 40 expect 0,0 lstat ${n0} uid,gid 42 expect 65534,65531 lstat ${n0} uid,gid 45 # When non-owner calls chown(2) successfully, set-uid and set-gid bit [all...] |
/freebsd-10.0-release/crypto/heimdal/kcm/ |
H A D | acl.c | 128 if (client->gid == ccache->gid) { 161 if (ccache->gid != client->gid) 178 gid_t gid) 189 if (ccache->gid != client->gid) 195 ccache->gid = gid; 174 kcm_chown(krb5_context context, kcm_client *client, kcm_ccache ccache, uid_t uid, gid_t gid) argument
|
/freebsd-10.0-release/lib/libutil/ |
H A D | _secure_path.c | 46 _secure_path(const char *path, uid_t uid, gid_t gid) argument 67 } else if ((int)gid != -1 && sb.st_gid != gid && (sb.st_mode & S_IWGRP))
|
/freebsd-10.0-release/tools/regression/pjdfstest/tests/link/ |
H A D | 00.t | 36 expect ${type},0201,3,65534,65533 lstat ${n0} type,mode,nlink,uid,gid 37 expect ${type},0201,3,65534,65533 lstat ${n1} type,mode,nlink,uid,gid 38 expect ${type},0201,3,65534,65533 lstat ${n2} type,mode,nlink,uid,gid 41 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid 42 expect ${type},0201,2,65534,65533 lstat ${n1} type,mode,nlink,uid,gid 43 expect ${type},0201,2,65534,65533 lstat ${n2} type,mode,nlink,uid,gid 46 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid 47 expect ${type},0201,1,65534,65533 lstat ${n1} type,mode,nlink,uid,gid 48 expect ENOENT lstat ${n2} type,mode,nlink,uid,gid 51 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid [all...] |
/freebsd-10.0-release/bin/pax/ |
H A D | cache.c | 55 * routines that control user, group, uid and gid caches (for the archive 64 static GIDC **gidtb = NULL; /* gid to name cache */ 66 static GIDC **grptb = NULL; /* group name to gid cache */ 237 * caches the name (if any) for the gid. If frc set, we always return the 244 name_gid(gid_t gid, int frc) argument 253 * see if we have this gid cached 255 ptr = gidtb[gid % GID_SZ]; 256 if ((ptr != NULL) && (ptr->valid > 0) && (ptr->gid == gid)) { 258 * have an entry for this gid 378 gid_name(char *name, gid_t *gid) argument [all...] |
/freebsd-10.0-release/contrib/atf/atf-c/detail/ |
H A D | user.c | 49 atf_user_is_member_of_group(gid_t gid) argument 63 if (groups[i] == gid)
|