Searched refs:gid (Results 126 - 150 of 549) sorted by relevance

1234567891011>>

/freebsd-12-stable/usr.sbin/chkgrp/
H A Dchkgrp.c58 unsigned long gid; local
176 gid = strtoul(f[2], NULL, 10);
179 } else if (gid > GID_MAX) {
181 gfn, n, (uintmax_t)gid, (uintmax_t)GID_MAX);
/freebsd-12-stable/usr.sbin/ctm/ctm/
H A Dctm_passb.c28 u_char *md5=0,*md5before=0,*trash=0,*name=0,*uid=0,*gid=0,*mode=0; local
55 Delete(gid);
83 case CTM_F_Gid: GETFIELDCOPY(gid,sep); break;
133 Delete(gid);
/freebsd-12-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_format_mtree.c36 gid_t gid; member in struct:__anon2111
56 gid_t gid; member in struct:__anon2112
98 archive_entry_set_gid(ae, entries[i].gid);
99 assert(entries[i].gid == archive_entry_gid(ae));
125 o = "/set type=dir uid=1001 gid=1001 mode=755";
127 o = "/set type=file uid=1001 gid=1001 mode=644";
150 assertEqualInt(entries[i].gid, archive_entry_gid(ae));
186 archive_entry_set_gid(ae, entries2[i].gid);
187 assert(entries2[i].gid == archive_entry_gid(ae));
213 o = "/set type=dir uid=1001 gid
[all...]
/freebsd-12-stable/sys/ofed/drivers/infiniband/core/
H A Dcore_priv.h112 union ib_gid *gid, struct ib_gid_attr *attr);
115 union ib_gid *gid, struct ib_gid_attr *attr);
/freebsd-12-stable/sys/ofed/include/uapi/rdma/
H A Dib_user_mad.h78 * @gid - Remote GID in GRH
96 __u8 gid[16]; member in struct:ib_user_mad_hdr_old
121 * @gid - Remote GID in GRH
140 __u8 gid[16]; member in struct:ib_user_mad_hdr
/freebsd-12-stable/libexec/mknetid/
H A Dhash.c134 void mstore (struct member_entry *table[], char *key, int gid, int dup) argument
145 tmp->groupid = gid;
/freebsd-12-stable/share/examples/ypldap/
H A Dypldap.conf24 attribute gid maps to "gidNumber"
/freebsd-12-stable/contrib/mtree/
H A Dgetid.c165 gi_getgrgid(gid_t gid) argument
171 rval = grscan(1, gid, NULL);
219 grscan(int search, gid_t gid, const char *name) argument
241 if (grmatchline(search, gid, name))
248 grmatchline(int search, gid_t gid, const char *name) argument
268 if (search && name == NULL && _gr_group.gr_gid != gid)
420 if (!(cp = strsep(&bp, ":\n"))) /* gid */
/freebsd-12-stable/contrib/ofed/infiniband-diags/src/
H A Dibdiag_sa.c77 int sa_set_handle(struct sa_handle * handle, int grh_present, ibmad_gid_t *gid) argument
80 if (gid == NULL) {
84 memcpy(handle->dport.gid, gid, 16);
132 memcpy(p_mad_addr->gid, h->dport.gid, 16);
/freebsd-12-stable/contrib/pjdfstest/tests/chmod/
H A D07.t40 expect 0642,65534,65534 stat ${n1}/${n2} mode,uid,gid
42 expect 0642,65534,65534 stat ${n1}/${n2} mode,uid,gid
45 expect 0642,0,0 stat ${n1}/${n2} mode,uid,gid
/freebsd-12-stable/contrib/pjdfstest/tests/mkdir/
H A D00.t43 expect 65535,65535 lstat ${n0} uid,gid
46 expect "65535,6553[45]" lstat ${n0} uid,gid
50 expect "65534,6553[35]" lstat ${n0} uid,gid
/freebsd-12-stable/contrib/pjdfstest/tests/mkfifo/
H A D00.t43 expect 65535,65535 lstat ${n0} uid,gid
46 expect "65535,6553[45]" lstat ${n0} uid,gid
50 expect "65534,6553[35]" lstat ${n0} uid,gid
/freebsd-12-stable/contrib/pjdfstest/tests/mknod/
H A D00.t43 expect 65535,65535 lstat ${n0} uid,gid
46 expect "65535,6553[45]" lstat ${n0} uid,gid
50 expect "65534,6553[35]" lstat ${n0} uid,gid
/freebsd-12-stable/crypto/heimdal/kcm/
H A Dconfig.c166 gid_t gid = 0; local
188 gid = pw->pw_gid; gid_p = 1;
201 gid = gr->gr_gid; gid_p = 1;
210 ccache->gid = gid;
212 ccache->gid = 0; /* getegid() XXX */
/freebsd-12-stable/usr.bin/wall/
H A Dwall.c78 gid_t gid; member in struct:wallgroup
123 g->gid = -1;
138 g->gid = grp->gr_gid;
159 if (g->gid == (gid_t)-1)
161 if (g->gid == pw->pw_gid)
163 else if ((grp = getgrgid(g->gid)) != NULL) {
/freebsd-12-stable/contrib/netbsd-tests/kernel/
H A Dt_sysv.c358 gid_t gid = getegid(); local
360 printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
361 mp->msg_perm.uid, mp->msg_perm.gid,
380 ATF_REQUIRE_MSG(mp->msg_perm.gid == gid && mp->msg_perm.cgid == gid,
381 "gid mismatch");
597 gid_t gid = getegid(); local
599 printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
600 sp->sem_perm.uid, sp->sem_perm.gid,
804 gid_t gid = getegid(); local
[all...]
/freebsd-12-stable/contrib/sendmail/libsmutil/
H A Dsafefile.c27 ** gid -- group id to compare against.
45 safefile(fn, uid, gid, user, flags, mode, st)
48 GID_T gid;
63 sm_dprintf("safefile(%s, uid=%d, gid=%d, flags=%lx, mode=%o):\n",
64 fn, (int) uid, (int) gid, flags, mode);
115 gid = st->st_gid;
128 ret = safedirpath(".", uid, gid, user,
134 ret = safedirpath(fn, uid, gid, user,
167 ret = safedirpath(".", uid, gid, user, flags, 0, 0);
172 ret = safedirpath(fn, uid, gid, use
[all...]
/freebsd-12-stable/contrib/ofed/opensm/opensm/
H A Dosm_inform.c121 /* if inform_info.gid is not zero, ignore lid range */
122 if (ib_gid_is_notzero(&p_ii_rec->gid)) {
123 if (memcmp(&p_ii->gid, &p_ii_rec->gid, sizeof(p_ii->gid))) {
125 "Differ by InformInfo.gid\n");
384 the source gid comparison should be done on the trap source (saved
385 as the gid in the data details field).
387 the data details gid is the MGID.
390 In all other cases the issuer gid i
606 ib_gid_t *gid; local
[all...]
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mcg.c680 * Caller must hold MCG table semaphore. gid and mgm parameters must
691 * If no AMGM exists for given gid, *index = -1, *prev = index of last
695 u8 *gid, enum mlx4_protocol prot,
712 memcpy(mgid, gid, 16);
721 GID_PRINT_ARGS(gid), hash);
740 if (!memcmp(mgm->gid, gid, 16) &&
958 "dst-gid = "GID_PRINT_FMT"\n",
961 "dst-gid-mask = "GID_PRINT_FMT"\n",
1104 int mlx4_qp_attach_common(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[1 argument
694 find_entry(struct mlx4_dev *dev, u8 port, u8 *gid, enum mlx4_protocol prot, struct mlx4_cmd_mailbox *mgm_mailbox, int *prev, int *index) argument
1214 mlx4_qp_detach_common(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], enum mlx4_protocol prot, enum mlx4_steer_type steer) argument
1336 mlx4_QP_ATTACH(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], u8 attach, u8 block_loopback, enum mlx4_protocol prot) argument
1368 mlx4_trans_to_dmfs_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], u8 port, int block_mcast_loopback, enum mlx4_protocol prot, u64 *reg_id) argument
1408 mlx4_multicast_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], u8 port, int block_mcast_loopback, enum mlx4_protocol prot, u64 *reg_id) argument
1438 mlx4_multicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], enum mlx4_protocol prot, u64 reg_id) argument
1528 mlx4_unicast_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], int block_mcast_loopback, enum mlx4_protocol prot) argument
1544 mlx4_unicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], enum mlx4_protocol prot) argument
[all...]
/freebsd-12-stable/contrib/sendmail/libsm/
H A Dmpeix.c355 ** - setgid() exists, but only supports new gid == current gid (boring!)
356 ** - setuid() forces a gid change to the new uid's primary (and only) gid
366 ** gid/uid management functions getegid(), geteuid(), setgid(), and
377 ** bit is on, then gid emulation will be enabled. If the setuid mode bit is
434 ** SENDMAIL_MPE_EMULGID -- should we perform gid emulation?
437 ** if the setgid bit is on, we want gid emulation and so set
438 ** sendmail_mpe_gidflag to true. Otherwise we do not want gid emulation
445 ** true -- perform gid emulatio
[all...]
/freebsd-12-stable/contrib/libarchive/cpio/
H A Dcmdline.c83 { "numeric-uid-gid", 0, 'n' },
288 * <username|uid>:<groupname|gid> - Override both
289 * :<groupname|gid> - Override group but not user
291 * Where uid/gid are decimal representations and groupname/username
297 * Sets uid/gid return as appropriate, -1 indicates uid/gid not specified.
299 * as well. If the spec provides uid/gid, just return names as NULL.
305 owner_parse(const char *spec, int *uid, int *gid) argument
311 *gid = -1;
349 *gid
[all...]
/freebsd-12-stable/tools/regression/sysvmsg/
H A Dmsgtest.c263 gid_t gid = getegid(); local
265 printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
266 mp->msg_perm.uid, mp->msg_perm.gid,
285 if (mp->msg_perm.gid != gid || mp->msg_perm.cgid != gid)
286 errx(1, "gid mismatch");
/freebsd-12-stable/tools/regression/sysvsem/
H A Dsemtest.c282 gid_t gid = getegid(); local
284 printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
285 sp->sem_perm.uid, sp->sem_perm.gid,
301 if (sp->sem_perm.gid != gid || sp->sem_perm.cgid != gid)
302 errx(1, "gid mismatch");
/freebsd-12-stable/crypto/openssh/
H A Dsftp-common.c60 a->gid = 0;
76 a->gid = st->st_gid;
94 st->st_gid = a->gid;
119 (r = sshbuf_get_u32(b, &a->gid)) != 0)
167 (r = sshbuf_put_u32(b, a->gid)) != 0)
/freebsd-12-stable/contrib/elftoolchain/ar/
H A Dread.c64 gid_t gid; local
143 gid = archive_entry_gid(entry);
147 bsdar_strmode(md) + 1, uid, gid,

Completed in 281 milliseconds

1234567891011>>