Searched refs:sgid (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-10.0-release/contrib/ofed/libibverbs/include/infiniband/
H A Dsa-kern-abi.h45 __u8 sgid[16]; member in struct:ibv_kern_path_rec
H A Dsa.h43 union ibv_gid sgid; member in struct:ibv_sa_path_rec
105 union ibv_gid sgid; member in struct:ibv_path_record
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dbsd-setres_id.c30 setresgid(gid_t rgid, gid_t egid, gid_t sgid) argument
34 if (rgid != sgid) {
/freebsd-10.0-release/sys/ofed/include/rdma/
H A Dib_user_sa.h56 __u8 sgid[16]; member in struct:ib_user_path_rec
/freebsd-10.0-release/contrib/ofed/libibverbs/src/
H A Dmarshall.c98 memcpy(dst->sgid.raw, src->sgid, sizeof dst->sgid);
123 memcpy(dst->sgid, src->sgid.raw, sizeof src->sgid);
H A Dverbs.c507 union ibv_gid sgid; local
511 ret = ibv_query_gid(context, port_num, i++, &sgid);
512 } while (!ret && memcmp(&sgid, gid, sizeof *gid));
532 ah_attr->grh.dgid = grh->sgid;
726 union ibv_gid sgid; local
733 err = ibv_query_gid(pd->context, port_num, sgid_index, &sgid);
737 stagged = is_tagged_vlan(&sgid);
742 svlan = get_vlan_id(&sgid);
/freebsd-10.0-release/sys/ofed/drivers/infiniband/core/
H A Duverbs_marshall.c93 memcpy(dst->sgid, src->sgid.raw, sizeof src->sgid);
119 memcpy(dst->sgid.raw, src->sgid, sizeof dst->sgid);
H A Dlocal_sa.c481 path_rec.sgid = port->gid;
884 memcmp(&src->sgid, &dst->sgid, sizeof src->sgid))
/freebsd-10.0-release/contrib/openbsm/bin/auditdistd/
H A Dsandbox.c79 gid_t sgid; local
203 PJDLOG_VERIFY(getresgid(&rgid, &egid, &sgid) == 0);
204 PJDLOG_VERIFY(sgid == pw->pw_gid);
/freebsd-10.0-release/usr.sbin/mtree/
H A Dcreate.c286 gid_t sgid; local
320 sgid = p->fts_statp->st_gid;
321 if (sgid < MAXGID && ++g[sgid] > maxgid) {
322 savegid = sgid;
323 maxgid = g[sgid];
/freebsd-10.0-release/sys/security/audit/
H A Daudit.h84 void audit_arg_sgid(gid_t sgid);
260 #define AUDIT_ARG_SGID(sgid) do { \
262 audit_arg_sgid((sgid)); \
366 #define AUDIT_ARG_SGID(sgid)
/freebsd-10.0-release/sbin/hastd/
H A Dsubr.c159 gid_t rgid, egid, sgid; local
286 PJDLOG_VERIFY(getresgid(&rgid, &egid, &sgid) == 0);
289 PJDLOG_VERIFY(sgid == pw->pw_gid);
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dah.c99 union ib_gid sgid; local
110 err = ib_get_cached_gid(pd->device, ah_attr->port_num, ah_attr->grh.sgid_index, &sgid);
113 vlan_tag = rdma_get_vlan_id(&sgid);
/freebsd-10.0-release/sys/security/mac/
H A Dmac_cred.c330 gid_t sgid)
334 MAC_POLICY_CHECK_NOSLEEP(cred_check_setresgid, cred, rgid, egid, sgid);
336 sgid);
329 mac_cred_check_setresgid(struct ucred *cred, gid_t rgid, gid_t egid, gid_t sgid) argument
/freebsd-10.0-release/tools/regression/security/access/
H A Dtestaccess.c125 gid_t egid, rgid, sgid; local
134 error = getresgid(&rgid, &egid, &sgid);
143 printf("rgid: %d, egid: %d, sgid: %d\n", rgid, egid, sgid);
/freebsd-10.0-release/contrib/mtree/
H A Dcreate.c331 gid_t sgid; local
369 sgid = p->fts_statp->st_gid;
370 if (sgid < MTREE_MAXGID && ++g[sgid] > maxgid) {
371 savegid = sgid;
372 maxgid = g[sgid];
/freebsd-10.0-release/sys/kern/
H A Dkern_prot.c1088 * setresgid(rgid, egid, sgid) is like setregid except control over the saved
1095 gid_t sgid; member in struct:setresgid_args
1104 gid_t egid, rgid, sgid; local
1109 sgid = uap->sgid;
1112 AUDIT_ARG_SGID(sgid);
1118 error = mac_cred_check_setresgid(oldcred, rgid, egid, sgid);
1129 (sgid != (gid_t)-1 && sgid != oldcred->cr_rgid &&
1130 sgid !
1189 gid_t *sgid; member in struct:getresgid_args
[all...]
/freebsd-10.0-release/sys/compat/linux/
H A Dlinux_uid16.c414 args->sgid);
418 bsd.sgid = CAST_NOCHG(args->sgid);
/freebsd-10.0-release/contrib/ofed/librdmacm/include/rdma/
H A Drdma_cma.h82 union ibv_gid sgid; member in struct:ib_addr
/freebsd-10.0-release/contrib/ofed/management/opensm/opensm/
H A Dosm_sa_path_record.c798 p_pr->sgid.unicast.prefix = osm_physp_get_subnet_prefix(p_src_physp);
799 p_pr->sgid.unicast.interface_id = osm_physp_get_port_guid(p_src_physp);
1175 if (!ib_gid_is_link_local(&p_pr->sgid)) {
1176 if (ib_gid_get_subnet_prefix(&p_pr->sgid) !=
1186 cl_ntoh64(p_pr->sgid.unicast.prefix));
1194 p_pr->sgid.unicast.
1204 cl_ntoh64(p_pr->sgid.unicast.interface_id));
/freebsd-10.0-release/tools/regression/mac/mac_bsdextended/
H A Dtest_matches.sh130 # Object sgid
132 ugidfw set 1 subject uid $uidrange object sgid mode rasx
136 echo -n "object sgid: "
/freebsd-10.0-release/contrib/ofed/management/infiniband-diags/src/
H A Dsaquery.c233 inet_ntop(AF_INET6, p_pr->sgid.raw, gid_str2, sizeof gid_str2),
1560 " -O -U -c -s -g -m --src-to-dst <src:dst> --sgid-to-dgid <src-dst> "
1587 fprintf(stderr, " --sgid-to-dgid get a PathRecord for <sgid-dgid>\n"
1588 " where sgid and dgid are addresses in "
1626 char *sgid = NULL, *dgid = NULL; local
1654 {"sgid-to-dgid", 1, 0, 2},
1690 sgid = strdup(tok1);
1694 "ERROR: --sgid-to-dgid <GID>-<GID>\n");
1843 } else if (sgid
[all...]
/freebsd-10.0-release/contrib/ofed/management/opensm/osmtest/
H A Dosmtest.c940 IN ib_gid_t sgid,
963 gid_pair.src_gid = sgid;
970 " to 0x%016" PRIx64 " 0x%016" PRIx64 "\n", sgid.unicast.prefix,
971 sgid.unicast.interface_id, dgid.unicast.prefix,
1842 cl_ntoh64(p_rec->sgid.unicast.prefix),
1843 cl_ntoh64(p_rec->sgid.unicast.interface_id),
3109 if ((p_path->comp.sgid.unicast.interface_id &
3110 p_path->rec.sgid.unicast.interface_id) !=
3111 (p_path->comp.sgid.unicast.interface_id &
3112 p_rec->sgid
939 osmtest_get_path_rec_by_gid_pair(IN osmtest_t * const p_osmt, IN ib_gid_t sgid, IN ib_gid_t dgid, IN osmtest_req_context_t * p_context) argument
[all...]
/freebsd-10.0-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_ibumad_sa.c624 ib_gid_set_default(&path_rec.sgid,
642 memcpy(&path_rec.sgid,
689 /* Validate sgid/dgid counts against SA client limit */
H A Dosm_vendor_mlx_sa.c752 ib_gid_set_default(&path_rec.sgid,
771 memcpy(&path_rec.sgid,

Completed in 323 milliseconds

123