/freebsd-12-stable/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-12-stable/tools/tools/makeroot/ |
H A D | makeroot.sh | 224 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 D | mdconfig.c | 426 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 D | dirs.c | 89 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 D | nfs_prot.x | 124 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 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-12-stable/sys/kern/ |
H A D | uipc_sem.c | 225 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 D | GDBRemoteCommunicationServerCommon.cpp | 378 } 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 D | smdb1.c | 273 smdb1_set_owner(database, uid, gid) 276 gid_t gid; 287 result = fchown(fd, uid, gid);
|
/freebsd-12-stable/sys/fs/nfs/ |
H A D | nfs_commonacl.c | 51 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 D | file.h | 113 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 D | ipcs.c | 352 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 D | create.c | 70 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 D | ObjectContainerBSDArchive.h | 93 uint16_t gid; member in struct:ObjectContainerBSDArchive::Object
|
/freebsd-12-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_perfmgr.h | 101 ib_gid_t gid; member in struct:monitored_port
|
/freebsd-12-stable/contrib/pjdfstest/tests/rename/ |
H A D | 10.t | 94 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 D | smdb.h | 152 ** 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 D | global_mutex.c | 240 rv = APR_PERMS_SET_FN(proc_mutex)(mutex->proc_mutex, perms, uid, gid);
|
/freebsd-12-stable/contrib/libarchive/tar/ |
H A D | bsdtar.h | 60 int gid; /* --gid */ member in struct:bsdtar
|
/freebsd-12-stable/sys/compat/linux/ |
H A D | linux_socket.h | 132 uint32_t gid; member in struct:l_ucred
|
/freebsd-12-stable/sys/fs/msdosfs/ |
H A D | msdosfsmount.h | 77 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 D | mac_framework.h | 116 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 D | ugidfw_internal.h | 106 struct label *vplabel, uid_t uid, gid_t gid);
|
/freebsd-12-stable/sys/i386/ibcs2/ |
H A D | ibcs2_ipc.c | 258 pp->gid = ipp->gid; 272 ipp->gid = pp->gid;
|
/freebsd-12-stable/tools/regression/sockets/unix_cmsg/ |
H A D | uc_common.c | 656 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);
|