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

<<11121314151617181920>>

/freebsd-12-stable/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-12-stable/tools/tools/makeroot/
H A Dmakeroot.sh224 gid=`awk -F: "{if (\\\$1 == \"${user}\") {print \\\$4; exit} }" ${DBDIR}/master.passwd`
225 group=`awk -F: "{if (\\\$3 == \"${gid}\") {print \\\$1; exit} }" ${DBDIR}/group`
/freebsd-12-stable/sbin/mdconfig/
H A Dmdconfig.c426 struct gident *gid; local
449 gid = geom_lookupid(&gm, gsp->id);
450 if (gid == NULL)
452 if (gid->lg_what == ISPROVIDER) {
453 pp = gid->lg_ptr;
/freebsd-12-stable/sbin/restore/
H A Ddirs.c89 gid_t gid; member in struct:modeinfo
658 (void) chown(cp, myuid, node.gid);
660 (void) chown(cp, node.uid, node.gid);
763 node.gid = ctxp->gid;
/freebsd-12-stable/include/rpcsvc/
H A Dnfs_prot.x124 unsigned gid; /* owner group id */
142 unsigned gid; /* owner group id */
405 gid3 gid; /* owner group id */
473 gid3 gid;
502 set_gid3 gid;
/freebsd-12-stable/contrib/ofed/libibumad/
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-12-stable/sys/kern/
H A Duipc_sem.c225 ksem_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, argument
235 error = mac_posixsem_check_setowner(active_cred, ks, uid, gid);
241 if (gid == (gid_t)-1)
242 gid = ks->ks_gid;
244 (gid != ks->ks_gid && !groupmember(gid, active_cred))) &&
248 ks->ks_gid = gid;
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp378 } else if (key.equals("gid")) {
379 uint32_t gid = UINT32_MAX; local
380 if (value.getAsInteger(0, gid))
382 match_info.GetProcessInfo().SetGroupID(gid);
389 uint32_t gid = UINT32_MAX; local
390 if (value.getAsInteger(0, gid))
392 match_info.GetProcessInfo().SetEffectiveGroupID(gid);
456 // Packet format: "qGroupName:%i" where %i is the gid
458 uint32_t gid = packet.GetU32(UINT32_MAX); local
459 if (gid !
[all...]
/freebsd-12-stable/contrib/sendmail/libsmdb/
H A Dsmdb1.c273 smdb1_set_owner(database, uid, gid)
276 gid_t gid;
287 result = fchown(fd, uid, gid);
/freebsd-12-stable/sys/fs/nfs/
H A Dnfs_commonacl.c51 gid_t gid; local
104 aceerr = nfsv4_strtogid(nd, name, len, &gid, p);
106 acep->ae_id = (uid_t)gid;
/freebsd-12-stable/sys/sys/
H A Dfile.h113 typedef int fo_chown_t(struct file *fp, uid_t uid, gid_t gid,
379 fo_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, argument
383 return ((*fp->f_ops->fo_chown)(fp, uid, gid, active_cred, td));
/freebsd-12-stable/usr.bin/ipcs/
H A Dipcs.c352 group_from_gid(kmsqptr->u.msg_perm.gid, 0));
432 group_from_gid(kshmptr->u.shm_perm.gid, 0));
515 group_from_gid(ksemaptr->u.sem_perm.gid, 0));
/freebsd-12-stable/usr.sbin/fmtree/
H A Dcreate.c70 static gid_t gid; variable
118 statd(t, p, &uid, &gid, &mode, &flags);
191 if (p->fts_statp->st_gid != gid) {
197 warnx("Could not get gname for gid=%u",
201 "Could not get gname for gid=%u",
205 output(indent, &offset, "gid=%u", p->fts_statp->st_gid);
378 warnx("Could not get gname for gid=%u", savegid);
380 errx(1, "Could not get gname for gid=%u", savegid);
383 (void)printf(" gid=%lu", (u_long)savegid);
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
H A DObjectContainerBSDArchive.h93 uint16_t gid; member in struct:ObjectContainerBSDArchive::Object
/freebsd-12-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_perfmgr.h101 ib_gid_t gid; member in struct:monitored_port
/freebsd-12-stable/contrib/pjdfstest/tests/rename/
H A D10.t94 expect ${id},${id} lstat ${n1}/${n3} uid,gid
148 expect ${id},${id} lstat ${n1}/${n3} uid,gid
/freebsd-12-stable/contrib/sendmail/include/libsmdb/
H A Dsmdb.h152 ** gid -- The GID for the new owner (-1 for no change)
159 typedef int (*db_set_owner_func) __P((SMDB_DATABASE *db, uid_t uid, gid_t gid));
/freebsd-12-stable/contrib/apr/locks/unix/
H A Dglobal_mutex.c240 rv = APR_PERMS_SET_FN(proc_mutex)(mutex->proc_mutex, perms, uid, gid);
/freebsd-12-stable/contrib/libarchive/tar/
H A Dbsdtar.h60 int gid; /* --gid */ member in struct:bsdtar
/freebsd-12-stable/sys/compat/linux/
H A Dlinux_socket.h132 uint32_t gid; member in struct:l_ucred
/freebsd-12-stable/sys/fs/msdosfs/
H A Dmsdosfsmount.h77 gid_t pm_gid; /* gid to set as owner of the files */
234 gid_t gid; /* gid that owns msdosfs files */ member in struct:msdosfs_args
/freebsd-12-stable/sys/security/mac/
H A Dmac_framework.h116 int mac_cred_check_setgid(struct ucred *cred, gid_t gid);
229 uid_t uid, gid_t gid);
249 uid_t uid, gid_t gid);
424 uid_t uid, gid_t gid);
/freebsd-12-stable/sys/security/mac_bsdextended/
H A Dugidfw_internal.h106 struct label *vplabel, uid_t uid, gid_t gid);
/freebsd-12-stable/sys/i386/ibcs2/
H A Dibcs2_ipc.c258 pp->gid = ipp->gid;
272 ipp->gid = pp->gid;
/freebsd-12-stable/tools/regression/sockets/unix_cmsg/
H A Duc_common.c656 if (cmcred->cmcred_gid != uc_cfg.proc_cred.gid) {
658 (u_long)cmcred->cmcred_gid, (u_long)uc_cfg.proc_cred.gid);
716 if (sc->sc_gid != uc_cfg.proc_cred.gid) {
718 (u_long)sc->sc_gid, (u_long)uc_cfg.proc_cred.gid);

Completed in 396 milliseconds

<<11121314151617181920>>