Searched refs:uidp (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetpwnam.c62 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 Dgetpwent.c75 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 Dgetpwnam.c175 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 Dnetnamer.c102 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 Dacl_api.c207 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 Dgetfacl.c308 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 Dacltext.c89 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 Dsnoop_nfs_acl.c756 static char uidp[10]; local
760 sprintf(uidp, "%d", uid);
761 return (uidp);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dqry.c166 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 Dzfs_fuid.c389 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 Dsmbfs_ntacl.c881 * 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 Dgssd_proc.c2615 * 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 Dlibrestart.c2097 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 Dexec.c1028 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 Dllib-lnsl618 int netname2user(const char *netname, uid_t *uidp, gid_t *gidp,
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c7710 dtrace_cred2priv(cred_t *cr, uint32_t *privp, uid_t *uidp, zoneid_t *zoneidp) argument
7720 *uidp = crgetuid(cr);

Completed in 160 milliseconds