/osnet-11/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 */
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_acl.c | 206 smbfs_acl_get(int fd, acl_t **aclp, uid_t *uidp, gid_t *gidp) argument 223 if (uidp) 251 error = smbfs_acl_sd2zfs(sd, acl, uidp, gidp);
|
/osnet-11/usr/src/lib/nsswitch/compat/common/ |
H A D | getpwent.c | 74 char *linep, *limit, *uidp, *gidp; local 94 uidp = linep; 95 uidl = strtoul(uidp, (char **)&linep, 10); /* grab uid */ 96 olduidlen = linep - uidp; 118 (void) bcopy(linep, uidp + idlen, limit - linep + extra_chars); 119 (void) snprintf(uidp, idlen + 1, "%u:%u", uid, gid); 120 *(uidp + idlen) = ':'; /* restore : that was overwritten by snprintf */
|
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | getpwnam.c | 120 char *linep, *limit, *uidp, *gidp; local 145 uidp = linep; 146 uidl = strtoul(uidp, (char **)&linep, 10); /* grab uid */ 147 olduidlen = linep - uidp; 169 (void) bcopy(linep, uidp + idlen, limit - linep + extra_chars); 170 (void) snprintf(uidp, idlen + 1, "%u:%u", uid, gid); 171 *(uidp + idlen) = ':'; /* restore : that was overwritten by snprintf */
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 98 uid_t *uidp; member in struct:netid_userdata 122 *(argp->uidp) = u; 343 *(argp->uidp) = pw.pw_uid; 373 netname2user(const char netname[MAXNETNAMELEN + 1], uid_t *uidp, gid_t *gidp, argument 390 *uidp = NOBODY_UID; 408 argp.uidp = uidp;
|
/osnet-11/usr/src/lib/libsec/common/ |
H A D | acltext.c | 88 pruname(uid_t uid, char *uidp, size_t buflen, int noresolve) argument 96 (void) snprintf(uidp, buflen, "%u", uid); 98 (void) strlcpy(uidp, passwdp->pw_name, buflen); 100 return (uidp); 191 char uidp[ID_STR_MAX]; local 207 pruname(tp->a_id, uidp, sizeof (uidp), 0), perm); 240 pruname(tp->a_id, uidp, sizeof (uidp), 0), perm);
|
/osnet-11/usr/src/lib/librestart/common/ |
H A D | librestart.c | 2268 get_uid(const char *str, struct method_context *ci, uid_t *uidp) argument 2289 *uidp = uid; 2308 *uidp = ci->pwd.pw_uid;
|