/freebsd-12-stable/tests/sys/fs/fusefs/ |
H A D | setattr.cc | 223 out.body.entry.attr.gid = oldgroup; 234 in.body.setattr.gid == newgroup); 242 out.body.attr.attr.gid = newgroup; 266 out.body.entry.attr.gid = in.header.gid;
|
H A D | getattr.cc | 229 out.body.attr.attr.gid = 11; 294 out.body.attr.attr.gid = 11;
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/ |
H A D | ObjectContainerBSDArchive.cpp | 44 : ar_name(), modification_time(0), uid(0), gid(0), mode(0), size(0), 51 gid = 0; 111 gid = strtoul(str.c_str(), &err, 10);
|
/freebsd-12-stable/contrib/mtree/ |
H A D | create.c | 82 static gid_t gid; variable 149 statd(fp, t, p, &uid, &gid, &mode, &flags); 211 if (keys & (F_GID | F_GNAME) && p->fts_statp->st_gid != gid) { 216 output(fp, indent, &offset, "gid=%u", 421 fprintf(fp, " gid=%lu", (u_long)savegid);
|
H A D | spec.c | 356 appendfield(fp, pathlast, "gid=%u", 543 gid_t gid; local 580 mtree_err("invalid gid `%s'", val); 585 if (gid_from_group(val, &gid) == -1) 587 ip->st_gid = gid;
|
/freebsd-12-stable/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_ibumad_sa.c | 423 cl_ntoh64(p_query_req->gid.unicast.prefix), 424 cl_ntoh64(p_query_req->gid.unicast.interface_id)); 428 memcpy(&p_madw->mad_addr.addr_type.gsi.grh_info.dest_gid, &(p_query_req->gid), 16);
|
H A D | osm_vendor_mlx_hca.c | 68 __osm_vendor_gid_to_guid(IN u_int8_t * gid, OUT VAPI_gid_t * guid) argument 70 memcpy(guid, gid + 8, 8); 231 /* first call to know the size of the gid table */
|
H A D | osm_vendor_mtl_hca_guid.c | 63 __osm_vendor_gid_to_guid(IN u_int8_t * gid, OUT VAPI_gid_t * guid) argument 65 memcpy(guid, gid + 8, 8); 251 /* first call to know the size of the gid table */
|
/freebsd-12-stable/contrib/openbsm/bsm/ |
H A D | libbsm.h | 230 u_int32_t gid; member in struct:__anon6736 239 u_int32_t gid; member in struct:__anon6737 414 u_int32_t gid; member in struct:__anon6751
|
/freebsd-12-stable/contrib/sendmail/libsmdb/ |
H A D | smdb2.c | 319 smdb2_set_owner(database, uid, gid) 322 gid_t gid; 333 result = fchown(fd, uid, gid);
|
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_fuid.c | 488 * the uid otherwise cred's uid will be used. By default cred's gid 705 uid_t gid; local 744 gid = zfs_fuid_map_id(zfsvfs, id, cr, ZFS_GROUP); 745 return (groupmember(gid, cr));
|
/freebsd-12-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_mad.c | 453 union ib_gid *gid) 473 memcpy(gid->raw, out_mad->data + 8, 8); 484 memcpy(gid->raw + 8, out_mad->data + (index % 8) * 8, 8); 452 mlx5_query_mad_ifc_gids(struct ib_device *ibdev, u8 port, int index, union ib_gid *gid) argument
|
/freebsd-12-stable/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 148 union ib_gid *gid) 153 if (ipv6_addr_v4mapped((struct in6_addr *)gid)) 1899 union ib_gid *gid); 1901 * add the gid of device @device at gid index @index of 1902 * port @port_num to be @gid. Meta-info of that gid (for example, 1903 * the network device related to this gid is available 1916 const union ib_gid *gid, 1920 * gid o 147 ib_gid_to_network_type(enum ib_gid_type gid_type, union ib_gid *gid) argument [all...] |
/freebsd-12-stable/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 765 ufs_chown(vp, uid, gid, cred, td) 768 gid_t gid; 783 if (gid == (gid_t)VNOVAL) 784 gid = ip->i_gid; 797 (gid != ip->i_gid && !groupmember(gid, cred))) && 809 if (ogid == gid) { 821 ip->i_gid = gid; 822 DIP_SET(ip, i_gid, gid); 831 if (ogid == gid) { [all...] |
/freebsd-12-stable/usr.sbin/rwhod/ |
H A D | rwhod.c | 136 void run_as(uid_t *uid, gid_t *gid); 307 run_as(uid_t *uid, gid_t *gid) argument 324 *gid = gr->gr_gid;
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 108 #define __sanitizer_syscall_pre_setgid(gid) \ 109 __sanitizer_syscall_pre_impl_setgid((long)(gid)) 110 #define __sanitizer_syscall_post_setgid(res, gid) \ 111 __sanitizer_syscall_post_impl_setgid(res, (long)(gid)) 136 #define __sanitizer_syscall_pre_setfsgid(gid) \ 137 __sanitizer_syscall_pre_impl_setfsgid((long)(gid)) 138 #define __sanitizer_syscall_post_setfsgid(res, gid) \ 139 __sanitizer_syscall_post_impl_setfsgid(res, (long)(gid)) 859 #define __sanitizer_syscall_pre_setgid16(gid) \ 860 __sanitizer_syscall_pre_impl_setgid16((long)gid) [all...] |
/freebsd-12-stable/sys/dev/mlx4/ |
H A D | device.h | 1141 int mlx4_unicast_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], 1143 int mlx4_unicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], 1145 int mlx4_multicast_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], 1148 int mlx4_multicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], 1457 int mlx4_get_slave_from_roce_gid(struct mlx4_dev *dev, int port, u8 *gid, 1460 u8 *gid);
|
/freebsd-12-stable/usr.bin/find/ |
H A D | function.c | 1000 gid_t gid; local 1011 gid = atoi(gname); 1012 if (gid == 0 && gname[0] != '0') 1014 gid = find_parsenum(new, option->name, cp, NULL); 1016 gid = g->gr_gid; 1018 new->g_data = gid;
|
/freebsd-12-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibccconfig.c | 579 {"dgid", 25, 1, NULL, "remote gid (IPv6 format)"}, 632 memcpy(&portid.gid, &dgid, sizeof(portid.gid));
|
H A D | vendstat.c | 372 {"dgid", 25, 1, NULL, "remote gid (IPv6 format)"}, 411 memcpy(&portid.gid, &dgid, sizeof(portid.gid));
|
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | gpg_agent.c | 280 apr_gid_t gid; 282 if (apr_uid_current(&uid, &gid, scratch_pool) == APR_SUCCESS) 279 apr_gid_t gid; local
|
/freebsd-12-stable/bin/pax/ |
H A D | file_subs.c | 62 * and setting access modes, uid/gid and times of files 154 * if not preserving mode or we cannot set uid/gid, then PROHIBIT 155 * set uid/gid bits 336 * If successful, sets uid/gid modes and times as required. 426 * we were able to create the node. set uid/gid, modes and times 435 * if not preserving mode or we cannot set uid/gid, then PROHIBIT any 436 * set uid/gid bits 540 * uid/gid as the file has (when uid and gid are being preserved). 665 * set the uid and gid o 671 set_ids(char *fnm, uid_t uid, gid_t gid) argument [all...] |
/freebsd-12-stable/sys/netpfil/pf/ |
H A D | pf.h | 289 uid_t gid[2]; member in struct:pf_rule_gid 507 struct pf_rule_gid gid; member in struct:pf_rule
|
/freebsd-12-stable/sys/kern/ |
H A D | subr_acl_posix1e.c | 55 * and is passed via 'uid', 'gid', and 'acl'. Return 0 on success, else an 417 * Given inode information (uid, gid, mode), return an acl entry of the 421 acl_posix1e_mode_to_entry(acl_tag_t tag, uid_t uid, gid_t gid, mode_t mode) argument 435 acl_entry.ae_id = gid;
|
/freebsd-12-stable/usr.bin/tip/tip/ |
H A D | tip.c | 77 gid = getgid(); 163 * return to the real uid and gid. These things will 306 setegid(gid);
|