/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getpwnam.c | 62 char *linep, *limit, *uidp, *gidp, *newline; local 83 uidp = linep; 84 uidl = strtoul(uidp, (char **)&linep, 10); /* grab uid */ 85 olduidlen = linep - uidp; 108 *(uidp - 1) = '\0'; 118 (void) bcopy(linep, uidp + idlen, limit - linep + 1); 119 (void) snprintf(uidp, idlen + 1, "%u:%u", uid, gid); 120 *(uidp + idlen) = ':'; /* restore : that was overwritten by snprintf */
|
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | getpwent.c | 75 char *linep, *limit, *uidp, *gidp; local 95 uidp = linep; 96 uidl = strtoul(uidp, (char **)&linep, 10); /* grab uid */ 97 olduidlen = linep - uidp; 119 (void) bcopy(linep, uidp + idlen, limit - linep + extra_chars); 120 (void) snprintf(uidp, idlen + 1, "%u:%u", uid, gid); 121 *(uidp + idlen) = ':'; /* restore : that was overwritten by snprintf */
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getpwnam.c | 175 char *linep, *limit, *uidp, *gidp; local 200 uidp = linep; 201 uidl = strtoul(uidp, (char **)&linep, 10); /* grab uid */ 202 olduidlen = linep - uidp; 224 (void) bcopy(linep, uidp + idlen, limit - linep + extra_chars); 225 (void) snprintf(uidp, idlen + 1, "%u:%u", uid, gid); 226 *(uidp + idlen) = ':'; /* restore : that was overwritten by snprintf */
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 102 uid_t *uidp; member in struct:netid_userdata 126 *(argp->uidp) = u; 345 *(argp->uidp) = pw.pw_uid; 375 netname2user(const char netname[MAXNETNAMELEN + 1], uid_t *uidp, gid_t *gidp, argument 392 *uidp = NOBODY_UID; 410 argp.uidp = uidp;
|
/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 224 if (uidp) 252 error = smbfs_acl_sd2zfs(sd, acl, uidp, gidp);
|
/illumos-gate/usr/src/cmd/getfacl/ |
H A D | getfacl.c | 308 static char uidp[10]; /* big enough */ local 313 (void) sprintf(uidp, "%u", uid); 314 return (uidp);
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acltext.c | 89 pruname(uid_t uid, char *uidp, size_t buflen, int noresolve) argument 97 (void) snprintf(uidp, buflen, "%u", uid); 99 (void) strlcpy(uidp, passwdp->pw_name, buflen); 101 return (uidp); 183 char uidp[ID_STR_MAX]; local 199 pruname(tp->a_id, uidp, sizeof (uidp), 0), perm); 232 pruname(tp->a_id, uidp, sizeof (uidp), 0), perm);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs_acl.c | 756 static char uidp[10]; local 760 sprintf(uidp, "%d", uid); 761 return (uidp);
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | qry.c | 166 uint32_t *uidp = get_child_t(obj, type); local 170 if (uidp != NULL && *uidp > 0) { 171 num = *uidp; 174 uidp ++; 175 (void) memcpy(p, uidp, num * sizeof (*p));
|
/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 391 *uidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_uid, cr, ZFS_OWNER);
|
/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) 1037 if (uidp) 1038 *uidp = own_uid; 888 smbfs_acl_sd2zfs( i_ntsd_t *sd, vsecattr_t *acl_info, uid_t *uidp, gid_t *gidp) argument
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_proc.c | 2615 * If caller ok, the uid is returned in uidp. 2618 checkfrom(rqstp, uidp) 2620 uid_t *uidp; 2645 if (uidp) { 2652 *uidp = aup->aup_uid; 2655 gettext("checkfrom: caller's uid %d\n"), *uidp);
|
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.c | 2097 get_uid(const char *str, struct method_context *ci, uid_t *uidp) argument 2118 *uidp = uid; 2137 *uidp = ci->pwd.pw_uid;
|
/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 1123 *uidp = uid;
|
/illumos-gate/usr/src/lib/libnsl/common/ |
H A D | llib-lnsl | 618 int netname2user(const char *netname, uid_t *uidp, gid_t *gidp,
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 7710 dtrace_cred2priv(cred_t *cr, uint32_t *privp, uid_t *uidp, zoneid_t *zoneidp) argument 7720 *uidp = crgetuid(cr);
|