Searched refs:gid (Results 276 - 300 of 579) sorted by relevance

<<11121314151617181920>>

/freebsd-current/contrib/ofed/infiniband-diags/src/
H A Dibping.c213 {"dgid", 25, 1, NULL, "remote gid (IPv6 format)"},
255 memcpy(&portid.gid, &dgid, sizeof(portid.gid));
/freebsd-current/contrib/openbsm/bin/auditd/
H A Dauditd_darwin.c93 auditd_openlog(int debug, gid_t gid) argument
110 asprintf(&cp, "%u", gid);
/freebsd-current/contrib/ofed/libibumad/
H A Dsysfs.c100 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 Dumad.c133 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 Dlibcxgb4.h224 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 Dmad.c186 memcpy(addr.gid, dport->gid, 16);
/freebsd-current/usr.bin/stat/tests/
H A Dstat_test.sh190 local gid=$(stat -f '%5g' $path)
204 Mode: ($mode/$mode_s) Uid: ($uid/$username) Gid: ($gid/$groupname)
/freebsd-current/tools/tools/makeroot/
H A Dmakeroot.sh223 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 Dipoib_fs.c47 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 Dmain.h47 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 Dbin2h.pl57 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
/freebsd-current/usr.bin/newgrp/
H A Dnewgrp.c197 /* 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 Dtar.c389 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 DPlatformPOSIX.cpp71 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 Dp9_protocol.h193 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 Dp9conn.py38 '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 Ddirs.c81 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 Dmdmfs.c643 * 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 Dmdconfig.c498 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 Dnfs_prot.x115 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 Duipc_sem.c223 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 DGDBRemoteCommunicationServerCommon.cpp375 } 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 Dfuse_kernel.h220 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 Dnfs_commonacl.c49 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 Dipcs.c349 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));

Completed in 249 milliseconds

<<11121314151617181920>>