/freebsd-current/contrib/ofed/infiniband-diags/src/ |
H A D | ibping.c | 213 {"dgid", 25, 1, NULL, "remote gid (IPv6 format)"}, 255 memcpy(&portid.gid, &dgid, sizeof(portid.gid));
|
/freebsd-current/contrib/openbsm/bin/auditd/ |
H A D | auditd_darwin.c | 93 auditd_openlog(int debug, gid_t gid) argument 110 asprintf(&cp, "%u", gid);
|
/freebsd-current/contrib/ofed/libibumad/ |
H A D | sysfs.c | 100 union umad_gid *gid) 103 __be16 *ugid = (__be16 *) gid; 99 sys_read_gid(const char *dir_name, const char *file_name, union umad_gid *gid) argument
|
H A D | umad.c | 133 union umad_gid gid; local 175 if (sys_read_gid(port_dir, SYS_PORT_GID, &gid) < 0) 178 port->gid_prefix = gid.global.subnet_prefix; 179 port->port_guid = gid.global.interface_id; 1096 for (i = 0; i < sizeof addr->gid; i++) { 1097 gid_str[i * 2] = HEX(addr->gid[i] >> 4); 1098 gid_str[i * 2 + 1] = HEX(addr->gid[i] & 0xf);
|
/freebsd-current/contrib/ofed/libcxgb4/ |
H A D | libcxgb4.h | 224 int c4iw_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, 226 int c4iw_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
|
/freebsd-current/contrib/ofed/libibmad/ |
H A D | mad.c | 186 memcpy(addr.gid, dport->gid, 16);
|
/freebsd-current/usr.bin/stat/tests/ |
H A D | stat_test.sh | 190 local gid=$(stat -f '%5g' $path) 204 Mode: ($mode/$mode_s) Uid: ($uid/$username) Gid: ($gid/$groupname)
|
/freebsd-current/tools/tools/makeroot/ |
H A D | makeroot.sh | 223 gid=`awk -F: "{if (\\\$1 == \"${user}\") {print \\\$4; exit} }" ${DBDIR}/master.passwd` 224 group=`awk -F: "{if (\\\$3 == \"${gid}\") {print \\\$1; exit} }" ${DBDIR}/group`
|
/freebsd-current/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 47 static void format_gid(union ib_gid *gid, char *buf) argument 53 be16_to_cpu(((__be16 *) gid->raw)[i]));
|
/freebsd-current/tools/regression/priv/ |
H A D | main.h | 47 void setup_dir(const char *test, char *dpathp, uid_t uid, gid_t gid, 49 void setup_file(const char *test, char *fpathp, uid_t uid, gid_t gid,
|
/freebsd-current/sys/dev/cxgb/ |
H A D | bin2h.pl | 57 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
|
/freebsd-current/usr.bin/newgrp/ |
H A D | newgrp.c | 197 /* Remove requested gid from supp. list if it exists. */ 222 /* Add old effective gid to supp. list if it does not exist. */ 242 inarray(gid_t gid, const gid_t grps[], int ngrps) argument 247 if (grps[i] == gid)
|
/freebsd-current/bin/pax/ |
H A D | tar.c | 389 arcn->sb.st_gid = (gid_t)asc_ul(hd->gid, sizeof(hd->gid), OCT); 608 ul_oct((u_long)arcn->sb.st_gid, hd->gid, sizeof(hd->gid), 0) || 763 * and group files we will use the uid's and gid they bind. Otherwise 764 * we use the uid and gid values stored in the header. (This is what 769 arcn->sb.st_gid = (gid_t)asc_ul(hd->gid, sizeof(hd->gid), OCT); 1004 ul_oct((u_long)arcn->sb.st_gid, hd->gid, sizeof(hd->gid), [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
H A D | PlatformPOSIX.cpp | 71 uint32_t gid = UINT32_MAX) { 75 if (uid == UINT32_MAX && gid == UINT32_MAX) 82 if (gid != UINT32_MAX) 83 command.Printf(":%d", gid); 94 uint32_t gid) { 101 // chown uid:gid dst 115 if (uid == UINT32_MAX && gid == UINT32_MAX) 117 if (chown_file(this, dst_path.c_str(), uid, gid) != 0) 145 // if (chown_file(this,dst_path.c_str(),uid,gid) != 0) 153 return Platform::PutFile(source, destination, uid, gid); 92 PutFile(const lldb_private::FileSpec &source, const lldb_private::FileSpec &destination, uint32_t uid, uint32_t gid) argument [all...] |
/freebsd-current/sys/fs/p9fs/ |
H A D | p9_protocol.h | 193 char *gid; /* group ID of owner */ member in struct:p9_wstat 230 gid_t gid; /* group id */ member in struct:p9_iattr_dotl
|
/freebsd-current/contrib/lib9p/pytest/ |
H A D | p9conn.py | 38 'ino mode uid gid nlink rdev size blksize blocks ' 1052 'gid': b'', 1172 def lcreate(self, fid, name, lflags, mode, gid): 1176 flags=lflags, mode=mode, gid=gid) 1187 def mkdir(self, dfid, name, mode, gid): 1191 mode=mode, gid=gid) 1211 for name in ('mode', 'nlink', 'uid', 'gid', 'rdev', 1270 if field in ('mode', 'uid', 'gid', 'siz [all...] |
/freebsd-current/sbin/restore/ |
H A D | dirs.c | 81 gid_t gid; member in struct:modeinfo 642 (void) chown(cp, myuid, node.gid); 644 (void) chown(cp, node.uid, node.gid); 755 node.gid = ctxp->gid;
|
/freebsd-current/sbin/mdmfs/ |
H A D | mdmfs.c | 643 * name. Upon return, the uid and gid fields in 'mip' will contain 644 * the uid and gid of the user and group name in 'str', respectively. 662 gid_t *gid; local 665 gid = &mip->mi_gid; 688 /* Derive gid. */ 689 *gid = strtoul(group, &p, 10); 690 if (*gid == (gid_t)ULONG_MAX) 696 *gid = gr->gr_gid;
|
/freebsd-current/sbin/mdconfig/ |
H A D | mdconfig.c | 498 struct gident *gid; local 521 gid = geom_lookupid(&gm, gsp->id); 522 if (gid == NULL) 524 if (gid->lg_what == ISPROVIDER) { 525 pp = gid->lg_ptr;
|
/freebsd-current/include/rpcsvc/ |
H A D | nfs_prot.x | 115 unsigned gid; /* owner group id */ 133 unsigned gid; /* owner group id */ 396 gid3 gid; /* owner group id */ 464 gid3 gid; 493 set_gid3 gid;
|
/freebsd-current/sys/kern/ |
H A D | uipc_sem.c | 223 ksem_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, argument 233 error = mac_posixsem_check_setowner(active_cred, ks, uid, gid); 239 if (gid == (gid_t)-1) 240 gid = ks->ks_gid; 242 (gid != ks->ks_gid && !groupmember(gid, active_cred))) && 246 ks->ks_gid = gid;
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerCommon.cpp | 375 } else if (key.equals("gid")) { 376 uint32_t gid = UINT32_MAX; local 377 if (value.getAsInteger(0, gid)) 379 match_info.GetProcessInfo().SetGroupID(gid); 386 uint32_t gid = UINT32_MAX; local 387 if (value.getAsInteger(0, gid)) 389 match_info.GetProcessInfo().SetEffectiveGroupID(gid); 452 // Packet format: "qGroupName:%i" where %i is the gid 454 uint32_t gid = packet.GetU32(UINT32_MAX); local 455 if (gid ! [all...] |
/freebsd-current/sys/fs/fuse/ |
H A D | fuse_kernel.h | 220 uint32_t gid; member in struct:fuse_attr 558 uint32_t gid; member in struct:fuse_setattr_in 787 uint32_t gid; member in struct:fuse_in_header
|
/freebsd-current/sys/fs/nfs/ |
H A D | nfs_commonacl.c | 49 gid_t gid; local 106 aceerr = nfsv4_strtogid(nd, name, len, &gid); 108 acep->ae_id = (uid_t)gid;
|
/freebsd-current/usr.bin/ipcs/ |
H A D | ipcs.c | 349 group_from_gid(kmsqptr->u.msg_perm.gid, 0)); 429 group_from_gid(kshmptr->u.shm_perm.gid, 0)); 512 group_from_gid(ksemaptr->u.sem_perm.gid, 0));
|