/freebsd-12-stable/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-12-stable/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-12-stable/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-12-stable/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 -x -o pid,gid | grep "$$ " | awk '{print $2}' 2>/dev/null`
|
/freebsd-12-stable/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-12-stable/tests/sys/cddl/zfs/tests/history/ |
H A D | history_009_pos.ksh | 115 gid=$($ID $HIST_USER | $AWK -F= '{print $3}'| $AWK -F"(" '{print $1}' ) 142 "gl\$$gid" "allow" "-l -g $HIST_GROUP snapshot" \ 143 "gl\$$gid" "allow" "-g $HIST_GROUP snapshot" \ 144 "gl\$$gid" "unallow" "-g $HIST_GROUP snapshot" \ 145 "Gl\$$gid" "allow" "-l -g $HIST_GROUP @set" \ 146 "Gl\$$gid" "allow" "-g $HIST_GROUP @set" \ 147 "Gl\$$gid" "unallow" "-g $HIST_GROUP @set" \ 148 "gd\$$gid" "allow" "-d -g $HIST_GROUP snapshot" \ 149 "gd\$$gid" "allow" "-g $HIST_GROUP snapshot" \ 150 "gd\$$gid" "unallo [all...] |
/freebsd-12-stable/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-12-stable/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" ;;
|
/freebsd-12-stable/contrib/pjdfstest/tests/chown/ |
H A D | 00.t | 30 expect 123,456 lstat ${n0} uid,gid 32 expect 0,0 lstat ${n0} uid,gid 35 uidgid=`${fstest} lstat ${n1} uid,gid` 37 expect 123,456 stat ${n1} uid,gid 38 expect 123,456 stat ${n0} uid,gid 39 expect ${uidgid} lstat ${n1} uid,gid 51 expect 123,456 lstat ${n0} uid,gid 60 # gid he is setting is in his groups list. 66 expect 65534,65533 lstat ${n0} uid,gid 68 expect 65534,65532 lstat ${n0} uid,gid [all...] |
H A D | 08.t | 28 expect 0,0 stat ${n0} uid,gid 31 expect 65534,65534 stat ${n0} uid,gid 37 expect 65534,65534 stat ${n0} uid,gid 46 expect 65534,65534 stat ${n0} uid,gid 54 expect 0,0 stat ${n0} uid,gid 57 expect 65534,65534 stat ${n0} uid,gid 63 expect 0,0 stat ${n0} uid,gid 66 expect 65534,65534 stat ${n0} uid,gid 72 expect 65534,65534 stat ${n0} uid,gid 79 expect 0,0 stat ${n0} uid,gid [all...] |
/freebsd-12-stable/contrib/ofed/libibverbs/examples/ |
H A D | pingpong.h | 41 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 D | pingpong.c | 57 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-12-stable/tests/sys/mac/portacl/ |
H A D | nobody_test.sh | 23 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 D | root_test.sh | 20 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-12-stable/sys/ofed/include/rdma/ |
H A D | ib_addr.h | 156 union ib_gid *gid) 158 memcpy(gid, dev_addr->broadcast + 4, sizeof *gid); 177 static inline int rdma_ip2gid(const struct sockaddr *addr, union ib_gid *gid) argument 183 (struct in6_addr *)gid); 186 memcpy(gid->raw, &((const struct sockaddr_in6 *)addr)->sin6_addr, 16); 188 if (IN6_IS_SCOPE_LINKLOCAL((struct in6_addr *)gid->raw) || 189 IN6_IS_ADDR_MC_INTFACELOCAL((struct in6_addr *)gid->raw)) { 190 gid->raw[2] = 0; 191 gid 155 ib_addr_get_mgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument 201 rdma_gid2ip(struct sockaddr *out, const union ib_gid *gid) argument 218 iboe_addr_get_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument 243 rdma_addr_get_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument 253 rdma_addr_set_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument 258 rdma_addr_get_dgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument 263 rdma_addr_set_dgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) argument [all...] |
H A D | ib_cache.h | 49 * @gid: The GID value found at the specified index. 59 union ib_gid *gid, 66 * @gid: The GID value to search for. 77 const union ib_gid *gid, 87 * @gid: The GID value to search for. 99 const union ib_gid *gid, 106 const union ib_gid *gid, 108 bool (*filter)(const union ib_gid *gid,
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_fchownat.c | 56 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-12-stable/contrib/apr/include/ |
H A D | apr_perms_set.h | 43 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-12-stable/contrib/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
|
/freebsd-12-stable/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-12-stable/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))
|