/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getpwnam.c | 62 char *linep, *limit, *uidp, *gidp, *newline; local 89 gidp = linep; 90 gidl = strtoul(gidp, (char **)&linep, 10); /* grab gid */ 91 oldgidlen = linep - gidp;
|
H A D | getgrent.c | 71 char *linep, *limit, *gidp, *newline; local 90 gidp = linep; 91 gid = strtoul(gidp, (char **)&linep, 10); /* grab gid */ 92 oldgidlen = linep - gidp; 106 *(gidp - 1) = '\0'; 116 (void) bcopy(linep, gidp + idlen, limit - linep + 1); 117 (void) snprintf(gidp, idlen + 1, "%u", GID_NOBODY); 118 *(gidp + idlen) = ':';
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | acl_api.c | 207 smbfs_acl_get(int fd, acl_t **aclp, uid_t *uidp, gid_t *gidp) argument 226 if (gidp) 252 error = smbfs_acl_sd2zfs(sd, acl, uidp, gidp);
|
/illumos-gate/usr/src/cmd/getfacl/ |
H A D | getfacl.c | 323 static char gidp[10]; /* big enough */ local 328 (void) sprintf(gidp, "%u", gid); 329 return (gidp);
|
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | getgrent.c | 69 char *linep, *limit, *gidp; local 87 gidp = linep; 88 gid = strtoul(gidp, (char **)&linep, 10); /* grab gid */ 89 oldgidlen = linep - gidp; 101 (void) bcopy(linep, gidp + idlen, limit - linep + extra_chars); 102 (void) snprintf(gidp, idlen + 1, "%u", GID_NOBODY); 103 *(gidp + idlen) = ':';
|
H A D | getpwent.c | 75 char *linep, *limit, *uidp, *gidp; local 101 gidp = linep; 102 gidl = strtoul(gidp, (char **)&linep, 10); /* grab gid */ 103 oldgidlen = linep - gidp;
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getgrent.c | 174 char *linep, *limit, *gidp; local 201 gidp = linep; 202 gid = strtoul(gidp, (char **)&linep, 10); /* grab gid */ 203 oldgidlen = linep - gidp; 215 (void) bcopy(linep, gidp + idlen, limit - linep + extra_chars); 216 (void) snprintf(gidp, idlen + 1, "%u", GID_NOBODY); 217 *(gidp + idlen) = ':';
|
H A D | getpwnam.c | 175 char *linep, *limit, *uidp, *gidp; local 206 gidp = linep; 207 gidl = strtoul(gidp, (char **)&linep, 10); /* grab gid */ 208 oldgidlen = linep - gidp;
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 103 gid_t *gidp; member in struct:netid_userdata 146 *(argp->gidp) = g; 346 *(argp->gidp) = pw.pw_gid; 375 netname2user(const char netname[MAXNETNAMELEN + 1], uid_t *uidp, gid_t *gidp, argument 393 *gidp = NOBODY_UID; 411 argp.gidp = gidp;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getgrnam_r.c | 450 gid_t *gidp = gbm->gid_array; local 456 for (i = 0; i < numgids && *gidp != gid; i++, 457 gidp++) { 465 *gidp = gid;
|
H A D | nss_common.c | 1744 gid_t *gidp; local 1745 gidp = (gid_t *)((void *)((char *)buffer + off)); 1746 *gidp = gbm->gid_array[0]; 1847 gid_t *gidp; local 1893 gidp = arg->gid_array; 1895 (void) memcpy(gidp, gptr, len);
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_cm.c | 653 ib_gid_t *gidp = NULL; local 706 gidp = kmem_zalloc(count * sizeof (ib_gid_t), KM_SLEEP); 708 *gids_p = gidp; 725 gidp[k].gid_prefix = sgid.gid_prefix; 726 gidp[k].gid_guid = sgid.gid_guid; 730 "%llX:%llX", k, gidp[k].gid_prefix, 731 gidp[k].gid_guid);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs_acl.c | 770 static char gidp[10]; local 774 sprintf(gidp, "%d", gid); 775 return (gidp);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_fuid.c | 389 zfs_fuid_map_ids(znode_t *zp, cred_t *cr, uid_t *uidp, uid_t *gidp) argument 392 *gidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_gid, cr, ZFS_GROUP);
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acltext.c | 105 prgname(gid_t gid, char *gidp, size_t buflen, int noresolve) argument 113 (void) snprintf(gidp, buflen, "%u", gid); 115 (void) strlcpy(gidp, groupp->gr_name, buflen); 117 return (gidp); 184 char gidp[ID_STR_MAX]; local 211 prgname(tp->a_id, gidp, sizeof (gidp), 0), perm); 241 prgname(tp->a_id, gidp, sizeof (gidp), 0), perm);
|
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 881 * Note optional args: vsa/acl, uidp, gidp. 895 uid_t *uidp, gid_t *gidp) 1039 if (gidp) 1040 *gidp = own_gid; 888 smbfs_acl_sd2zfs( i_ntsd_t *sd, vsecattr_t *acl_info, uid_t *uidp, gid_t *gidp) argument
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_path.c | 1986 ibcm_saa_get_agid(ibtl_cm_port_list_t *sl, ib_gid_t *gidp, uint_t ngid) argument 1996 if (gidp->gid_prefix == sl->p_sgid.gid_prefix) { 1997 a_gid = *gidp; 2002 gidp++; 2170 ib_gid_t *gidp = NULL; local 2227 &gidp, &n_gids); 2240 gidp, n_gids); 2251 if (gidp[j].gid_guid == 2253 a_gid = gidp[j]; 2264 if (gidp[ [all...] |
H A D | ibcm_ti.c | 6113 ib_gid_t *gidp = NULL, *t_gidp = NULL; local 6395 if ((k != 0) && (gidp != NULL)) { 6396 bcopy(gidp, t_gidp, 6398 kmem_free(gidp, 6401 gidp = t_gidp; 6403 gidp = kmem_zalloc(count * 6407 *gids_p = gidp; 6419 gidp[k].gid_prefix = 6421 gidp[k].gid_guid = pg; 6426 gidp[ [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | exec.c | 1028 execsetid(struct vnode *vp, struct vattr *vattrp, uid_t *uidp, uid_t *gidp, argument 1124 *gidp = gid;
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_subr.c | 2101 setdirgid(vnode_t *dvp, gid_t *gidp, cred_t *cr) argument 2122 *gidp = crgetgid(cr); 2124 *gidp = va.va_gid;
|