/freebsd-12-stable/usr.bin/tip/tip/ |
H A D | tip.h | 261 EXTERN gid_t gid, egid; /* real and effective group id's */ variable
|
/freebsd-12-stable/usr.sbin/cron/cron/ |
H A D | cron.h | 165 gid_t gid; member in struct:_entry
|
/freebsd-12-stable/usr.sbin/makefs/ |
H A D | mtree.c | 484 gid_t gid; local 550 if (strcmp(keyword, "gid") == 0) { 564 if (gid_from_group(value, &gid) == 0) 565 st->st_gid = gid;
|
/freebsd-12-stable/contrib/amd/amd/ |
H A D | nfs_subr.c | 207 gid_t gid; local 212 /* finally, find the effective uid/gid from RPC request */ 213 if (getcreds(rqstp, &uid, &gid, nfsxprt) < 0) 214 plog(XLOG_ERROR, "cannot get uid/gid from RPC credentials"); 216 xsnprintf(opt_gid, sizeof(gid_str), "%d", (int) gid); 963 fattr3->gid = (am_uid3) fattr->na_gid; 1149 gid_t gid; local 1154 /* finally, find the effective uid/gid from RPC request */ 1155 if (getcreds(rqstp, &uid, &gid, nfsxprt) < 0) 1156 plog(XLOG_ERROR, "cannot get uid/gid fro [all...] |
/freebsd-12-stable/sys/fs/devfs/ |
H A D | devfs_vnops.c | 1587 gid_t gid; local 1618 gid = de->de_gid; 1620 gid = vap->va_gid; 1621 if (uid != de->de_uid || gid != de->de_gid) { 1623 (gid != de->de_gid && !groupmember(gid, ap->a_cred))) { 1629 de->de_gid = gid;
|
/freebsd-12-stable/sys/fs/msdosfs/ |
H A D | msdosfs_vnops.c | 418 gid_t gid; local 425 gid = vap->va_gid; 426 if (gid == (gid_t)VNOVAL) 427 gid = pmp->pm_gid; 429 (gid != pmp->pm_gid && !groupmember(gid, cred))) { 434 if (uid != pmp->pm_uid || gid != pmp->pm_gid)
|
/freebsd-12-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_verbs.c | 422 static bool find_gid_index(const union ib_gid *gid, argument 1540 int ib_attach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid) argument 1547 if (!rdma_is_multicast_addr((struct in6_addr *)gid->raw) || 1551 ret = qp->device->attach_mcast(qp, gid, lid); 1558 int ib_detach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid) argument 1565 if (!rdma_is_multicast_addr((struct in6_addr *)gid->raw) || 1569 ret = qp->device->detach_mcast(qp, gid, lid);
|
H A D | ib_sysfs.c | 361 union ib_gid gid; local 365 ret = ib_query_gid(p->ibdev, p->port_num, tab_attr->index, &gid, 383 union ib_gid gid; local 386 ret = ib_query_gid(p->ibdev, p->port_num, tab_attr->index, &gid, NULL); 390 return sprintf(buf, GID_PRINT_FMT"\n", GID_PRINT_ARGS(gid.raw));
|
/freebsd-12-stable/contrib/ofed/libibverbs/ |
H A D | verbs.h | 1455 int (*attach_mcast)(struct ibv_qp *qp, const union ibv_gid *gid, 1457 int (*detach_mcast)(struct ibv_qp *qp, const union ibv_gid *gid, 1672 int index, union ibv_gid *gid); 2323 * @gid: Multicast group GID. 2331 int ibv_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); 2336 * @gid: Multicast group GID. 2339 int ibv_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid);
|
H A D | cmd.c | 1650 int ibv_cmd_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid) argument 1655 memcpy(cmd.gid, gid->raw, sizeof cmd.gid); 1666 int ibv_cmd_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid) argument 1671 memcpy(cmd.gid, gid->raw, sizeof cmd.gid);
|
/freebsd-12-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_pax.c | 1038 /* If numeric GID is too large, add 'gid' to pax extended attrs. */ 1040 add_pax_attr_int(&(pax->pax_header), "gid", 1387 int64_t uid, gid; local 1396 /* Copy uid/gid (but clip to ustar limits). */ 1401 gid = archive_entry_gid(entry_main); 1402 if (gid >= 1 << 18) 1403 gid = (1 << 18) - 1; 1404 archive_entry_set_gid(pax_attr_entry, gid);
|
/freebsd-12-stable/sbin/bsdlabel/ |
H A D | bsdlabel.c | 701 gid_t gid; local 717 gid = getgid(); 718 if (setresgid(gid, gid, gid) == -1)
|
/freebsd-12-stable/sbin/newfs/ |
H A D | mkfs.c | 865 gid_t gid; local 870 gid = grp->gr_gid; 872 warnx("Cannot retrieve operator gid, using gid 0."); 873 gid = 0; 900 node.dp1.di_gid = gid; 936 node.dp2.di_gid = gid;
|
/freebsd-12-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mad.c | 669 pr_debug("resolved slave %d from gid %pI6 wire port %d other %d\n", 1178 union ib_gid gid; local 1182 err = __mlx4_ib_query_gid(&dev->ib_dev, port, 0, &gid, 1); 1184 gid.global.subnet_prefix = 1193 (long long)be64_to_cpu(gid.global.subnet_prefix)); 1195 be64_to_cpu(gid.global.subnet_prefix)); 2286 union ib_gid gid; local 2287 err = __mlx4_ib_query_gid(&dev->ib_dev, i + 1, 0, &gid, 1); 2290 dev->sriov.demux[i].guid_cache[0] = gid.global.interface_id; 2292 be64_to_cpu(gid [all...] |
/freebsd-12-stable/sbin/pfctl/ |
H A D | pfctl_parser.c | 827 if (r->gid.op) 828 print_ugid(r->gid.op, r->gid.gid[0], r->gid.gid[1], "group",
|
/freebsd-12-stable/contrib/ofed/libmlx5/ |
H A D | mlx5.h | 659 int mlx5_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); 660 int mlx5_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid);
|
/freebsd-12-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_sa_informinfo.c | 104 if (ib_gid_is_notzero(&p_infr_rec->inform_record.inform_info.gid)) { 105 /* a gid is defined */ 107 p_infr_rec->inform_record.inform_info.gid.unicast. 132 /* gid is zero - check if LID range is defined */
|
/freebsd-12-stable/contrib/smbfs/lib/smb/ |
H A D | ctx.c | 389 smb_parse_owner(char *pair, uid_t *uid, gid_t *gid) argument 401 *gid = gr->gr_gid;
|
/freebsd-12-stable/contrib/libarchive/tar/ |
H A D | bsdtar.c | 173 bsdtar->gid = -1; 369 lafe_errc(1, 0, "Invalid argument to --gid"); 371 bsdtar->gid = t;
|
/freebsd-12-stable/contrib/elftoolchain/elfcopy/ |
H A D | archive.c | 421 obj->gid = archive_entry_gid(entry); 481 archive_entry_set_gid(entry, obj->gid);
|
/freebsd-12-stable/sys/dev/mthca/ |
H A D | mthca_dev.h | 575 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid); 576 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
|
/freebsd-12-stable/sys/i386/ibcs2/ |
H A D | ibcs2_proto.h | 81 char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; member in struct:ibcs2_chown_args 166 char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; member in struct:ibcs2_setgid_args
|
/freebsd-12-stable/usr.sbin/keyserv/ |
H A D | keyserv.c | 604 if (!netname2user(*name, (uid_t *) &cred->uid, (gid_t *) &cred->gid, 613 (void) fprintf(stderr, "uid=%d, gid=%d, grouplen=%d\n", 614 cred->uid, cred->gid, cred->gids.gids_len);
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_freebsd.h | 111 unsigned int gid; member in struct:__sanitizer::__sanitizer_ipc_perm
|
H A D | sanitizer_platform_limits_openbsd.cpp | 229 CHECK_SIZE_AND_OFFSET(ipc_perm, gid);
|