Searched refs:getpwuid_r (Results 1 - 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/head/
H A Dpwd.h87 * getpwuid_r() & getpwnam_r() prototypes are defined here.
128 #pragma redefine_extname getpwuid_r __posix_getpwuid_r
130 extern int getpwuid_r(uid_t, struct passwd *, char *,
143 #define getpwuid_r __posix_getpwuid_r macro
149 getpwuid_r(uid_t __uid, struct passwd *__pwd, char *__buf, size_t __len, function
166 extern struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int);
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dcuserid.c64 } else if ((pw = getpwuid_r(getuid(), &pwd, buffer, BUFSIZ)) != NULL) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetpwnam.c75 getpwuid_r(uid, b->result, b->buffer, b->buflen));
H A Dgetpwnam_r.c83 * POSIX.1c Draft-6 version of the function getpwuid_r.
87 getpwuid_r(uid_t uid, struct passwd *result, char *buffer, int buflen) function
114 * POSIX.1c standard version of the function getpwuid_r.
115 * User gets it via static getpwuid_r from the header file.
125 if ((*result = getpwuid_r(uid, pwd, buffer, (uintptr_t)bufsize))
/illumos-gate/usr/src/lib/pam_modules/roles/
H A Droles.c103 if ((pw_entry = getpwuid_r(pw_entry->pw_uid, &pwd, buf,
147 if ((pw_entry = getpwuid_r(uid, &pwd, buf,
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dgetuserattr.c98 if (getpwuid_r(u, &pwd, buf, NSS_BUFLEN_PASSWD) == NULL)
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhomedir.c261 status = getpwuid_r(geteuid(), &home->pwd, home->buffer, home->buflen,
377 if(!waserr && getpwuid_r(getuid(), &pwd_buffer, buffer, sizeof(buffer),
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c282 if (getpwuid_r(uid, &pwdm, buf, sizeof (buf), &pwd) != 0 || pwd == NULL)
380 if (getpwuid_r(uuid, &pw, buf, sizeof (buf), &pwd) != 0 || pwd == NULL)
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-platform.h528 (*(OUT) = getpwuid_r(UID,REC,BUF,BUFSIZE), *(OUT) == NULL ? -1 : 0)
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_logon.c243 if (getpwuid_r(entry->sa_uid, &pw, buf, sizeof (buf)) == NULL)
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dnetnamer.c340 if ((getpwuid_r(uidnu, &pw, pwbuf, sizeof (pwbuf))) == NULL) {
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_cron.c165 if (getpwuid_r(st.st_uid, &pwd, pwd_buff, sizeof (pwd_buff)) ==
167 return (-1); /* getpwuid_r sets errno */
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_autohome.c96 if (getpwuid_r(uid, &pw, buf, sizeof (buf)) == NULL) {
H A Dsmb_logon.c636 if (getpwuid_r(smbpw->pw_uid, &pw, pwbuf, sizeof (pwbuf)) == NULL)
944 if (getpwuid_r(guest_uid, &pw, pwbuf, sizeof (pwbuf)) == NULL)
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c158 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL)
922 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL)
1652 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) {
H A Dadd_allocatable.c119 if ((getpwuid_r(uid, &pwd, pwbuf, sizeof (pwbuf))) == NULL) {
121 gettext(" : getpwuid_r failed: "));
H A Dallocate.c582 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) {
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dport_after.h383 getpwuid_r(uid_t uid, struct passwd *pwptr,
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c275 if ((getpwuid_r(euid, &pwd, buf, sizeof (buf)) == NULL) ||
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_main.c637 if (getpwuid_r(uid, &cli->cli_pw, cli->cli_pw_buf,
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c263 if (getpwuid_r(priviledged_uid, &pwr, pwd_buf,
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c332 if (getpwuid_r(getuid(), &pwd, pwdbuf, PWD_BUFFER_SIZE,
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dctx.c1512 if (getpwuid_r(getuid(), &pw, pwbuf, sizeof (pwbuf)) != NULL) {
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c399 if ((getpwuid_r(uid, &pwd, pwd_buf, NSS_BUFLEN_PASSWD, &ppwd) != 0) ||
/illumos-gate/usr/src/lib/libipadm/common/
H A Dlibipadm.c292 if (getpwuid_r(getuid(), &pwd, buf, sizeof (buf)) == NULL)

Completed in 100 milliseconds

12