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

1234567891011>>

/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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 -x -o pid,gid | grep "$$ " | awk '{print $2}' 2>/dev/null`
/freebsd-11-stable/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-11-stable/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-11-stable/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" ;;
/freebsd-11-stable/contrib/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-11-stable/contrib/ofed/libibverbs/examples/
H A Dpingpong.h41 void wire_gid_to_gid(const char *wgid, union ibv_gid *gid);
42 void gid_to_wire_gid(const union ibv_gid *gid, char wgid[]);
H A Dpingpong.c57 void wire_gid_to_gid(const char *wgid, union ibv_gid *gid) argument
69 memcpy(gid, tmp_gid, sizeof(*gid));
72 void gid_to_wire_gid(const union ibv_gid *gid, char wgid[]) argument
77 memcpy(tmp_gid, gid, sizeof(tmp_gid));
/freebsd-11-stable/tests/sys/mac/portacl/
H A Dnobody_test.sh23 bind_test fl fl gid nobody tcp 77
24 bind_test ok ok gid nobody tcp 7777
25 bind_test fl fl gid nobody udp 77
26 bind_test ok ok gid nobody udp 7777
35 bind_test fl fl gid nobody tcp 77
36 bind_test ok ok gid nobody tcp 7777
37 bind_test fl fl gid nobody udp 77
38 bind_test ok ok gid nobody udp 7777
49 bind_test fl fl gid nobody tcp 77
50 bind_test fl ok gid nobod
[all...]
H A Droot_test.sh20 bind_test ok ok gid root tcp 77
21 bind_test ok ok gid root tcp 7777
22 bind_test ok ok gid root udp 77
23 bind_test ok ok gid root udp 7777
34 bind_test fl ok gid root tcp 77
35 bind_test ok ok gid root tcp 7777
36 bind_test fl ok gid root udp 77
37 bind_test ok ok gid root udp 7777
48 bind_test fl ok gid root tcp 77
49 bind_test fl ok gid roo
[all...]
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_addr.h154 union ib_gid *gid)
156 memcpy(gid, dev_addr->broadcast + 4, sizeof *gid);
175 static inline int rdma_ip2gid(const struct sockaddr *addr, union ib_gid *gid) argument
181 (struct in6_addr *)gid);
184 memcpy(gid->raw, &((const struct sockaddr_in6 *)addr)->sin6_addr, 16);
186 if (IN6_IS_SCOPE_LINKLOCAL((struct in6_addr *)gid->raw) ||
187 IN6_IS_ADDR_MC_INTFACELOCAL((struct in6_addr *)gid->raw)) {
188 gid->raw[2] = 0;
189 gid
153 ib_addr_get_mgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument
199 rdma_gid2ip(struct sockaddr *out, const union ib_gid *gid) argument
216 iboe_addr_get_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument
241 rdma_addr_get_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument
251 rdma_addr_set_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument
256 rdma_addr_get_dgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument
261 rdma_addr_set_dgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument
[all...]
H A Dib_cache.h47 * @gid: The GID value found at the specified index.
57 union ib_gid *gid,
64 * @gid: The GID value to search for.
75 const union ib_gid *gid,
85 * @gid: The GID value to search for.
97 const union ib_gid *gid,
104 const union ib_gid *gid,
106 bool (*filter)(const union ib_gid *gid,
/freebsd-11-stable/contrib/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-11-stable/contrib/apr/include/
H A Dapr_perms_set.h43 apr_uid_t uid, apr_gid_t gid);
48 apr_uid_t uid, apr_gid_t gid)
53 apr_uid_t uid, apr_gid_t gid) \
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_fchownat.c56 static int getuser(uid_t *uid, gid_t *gid) argument
64 *gid = pw->pw_gid;
80 gid_t gid; local
83 ATF_REQUIRE(getuser(&uid, &gid) == 0);
89 ATF_REQUIRE(fchownat(dfd, BASEFILE, uid, gid, 0) == 0);
94 ATF_REQUIRE(st.st_gid == gid);
108 gid_t gid; local
111 ATF_REQUIRE(getuser(&uid, &gid) == 0);
117 ATF_REQUIRE(fchownat(AT_FDCWD, BASEFILE, uid, gid, 0) == 0);
121 ATF_REQUIRE(st.st_gid == gid);
134 gid_t gid; local
151 gid_t gid; local
172 gid_t gid; local
194 gid_t gid; local
214 gid_t gid; local
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/contrib/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...]

Completed in 137 milliseconds

1234567891011>>