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