Searched refs:gid (Results 1 - 25 of 451) sorted by relevance

1234567891011>>

/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.gid.d31 * 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 Dtst.gid.d32 /curpsinfo->pr_gid == gid/
39 printf("%d != %d\n", curpsinfo->pr_gid, gid);
/freebsd-10.0-release/contrib/libarchive/cpio/test/
H A Dtest_owner_parse.c64 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 Dtst.gid.d41 printf("The gid is %d\n", $gid);
H A Dtst.gid.ksh32 # 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 Dbsd-getpeereid.c28 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 Dpwcache.c83 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 Drc.bsdextended64 #${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 Dform210 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 Dinputmenu9 gid=`id|sed -e 's/^.*gid=//' -e 's/(.*//'`
22 "GID:" "$gid" \
43 -g $gid \n\
54 GID) gid="$item" ;;
H A Dinputmenu-stdout9 gid=`id|sed -e 's/^.*gid=//' -e 's/(.*//'`
21 "GID:" "$gid" \
41 -g $gid \n\
52 GID) gid="$item" ;;
H A Dinputmenu112 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 D00.t29 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 D08.t27 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 Dpingpong.h44 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 Ddevinfo.c53 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 Dnobody.t21 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 Droot.t18 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 Dib_addr.h124 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 D04.t21 # 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 Dacl.c128 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.c46 _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 D00.t36 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 Dcache.c55 * 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 Duser.c49 atf_user_is_member_of_group(gid_t gid) argument
63 if (groups[i] == gid)

Completed in 288 milliseconds

1234567891011>>