Home
last modified time | relevance | path

Searched refs:getpwuid_r (Results 1 – 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/head/
H A Dpwd.h128 #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, in getpwuid_r() function
166 extern struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int);
/illumos-gate/usr/src/lib/pam_modules/roles/
H A Droles.c103 if ((pw_entry = getpwuid_r(pw_entry->pw_uid, &pwd, buf, in pam_sm_acct_mgmt()
147 if ((pw_entry = getpwuid_r(uid, &pwd, buf, in pam_sm_acct_mgmt()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dcuserid.c64 } else if ((pw = getpwuid_r(getuid(), &pwd, buffer, BUFSIZ)) != NULL) { in cuserid()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhomedir.c261 status = getpwuid_r(geteuid(), &home->pwd, home->buffer, home->buflen, in _hd_lookup_home_dir()
377 if(!waserr && getpwuid_r(getuid(), &pwd_buffer, buffer, sizeof(buffer),
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetpwnam.c75 getpwuid_r(uid, b->result, b->buffer, b->buflen)); in getpwuid()
H A Dgetpwnam_r.c88 getpwuid_r(uid_t uid, struct passwd *result, char *buffer, int buflen) in getpwuid_r() function
126 if ((*result = getpwuid_r(uid, pwd, buffer, (uintptr_t)bufsize)) in __posix_getpwuid_r()
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dgetuserattr.c98 if (getpwuid_r(u, &pwd, buf, NSS_BUFLEN_PASSWD) == NULL) in getuseruid()
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c283 if (getpwuid_r(uid, &pwdm, buf, sizeof (buf), &pwd) != 0 || pwd == NULL) in get_granted_privs()
381 if (getpwuid_r(uuid, &pw, buf, sizeof (buf), &pwd) != 0 || pwd == NULL) in callback_pfexec()
/illumos-gate/usr/src/lib/lib9p/common/
H A Drfuncs.c262 error = getpwuid_r(uid, &pg->r_pgun.un_pw, in r_getpwuid()
/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.c280 if (getpwuid_r(entry->sa_uid, &pw, buf, sizeof (buf)) == NULL) in smbd_user_auth_logoff()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dnetnamer.c340 if ((getpwuid_r(uidnu, &pw, pwbuf, sizeof (pwbuf))) == NULL) { in netname2user_ldap()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_logon.c673 if (getpwuid_r(smbpw->pw_uid, &pw, pwbuf, sizeof (pwbuf)) == NULL) in smb_token_setup_local()
981 if (getpwuid_r(guest_uid, &pw, pwbuf, sizeof (pwbuf)) == NULL) in smb_guest_account()
H A Dsmb_autohome.c96 if (getpwuid_r(uid, &pw, buf, sizeof (buf)) == NULL) { in smb_autohome_add()
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dport_after.h383 getpwuid_r(uid_t uid, struct passwd *pwptr,
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_cron.c165 if (getpwuid_r(st.st_uid, &pwd, pwd_buff, sizeof (pwd_buff)) == in audit_cron_getinfo()
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c158 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) in _is_authorized()
921 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) in exec_clean()
1651 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) { in _check_label()
H A Dadd_allocatable.c119 if ((getpwuid_r(uid, &pwd, pwbuf, sizeof (pwbuf))) == NULL) { in main()
H A Dallocate.c580 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) { in main()
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c275 if ((getpwuid_r(euid, &pwd, buf, sizeof (buf)) == NULL) || in check_auth()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_main.c638 if (getpwuid_r(uid, &cli->cli_pw, cli->cli_pw_buf, in new_req()
/illumos-gate/usr/src/lib/c_synonyms/
H A Dsyn_common380 getpwuid_r
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c399 if ((getpwuid_r(uid, &pwd, pwd_buf, NSS_BUFLEN_PASSWD, &ppwd) != 0) || in is_login_user()
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c444 if ((getpwuid_r(uid, &pw, pw_buf, GETPWUID_BUFF_LEN)) == NULL) in getuname()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_server.c264 getpwuid_r(uid, &pwd, pwd_buf, pwd_buflen, &pwd_ptr) != 0 || in nfsmapid_uid_str()

12