Home
last modified time | relevance | path

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

12

/titanic_50/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);
/titanic_50/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()
/titanic_50/usr/src/lib/libc/port/stdio/
H A Dcuserid.c64 } else if ((pw = getpwuid_r(getuid(), &pwd, buffer, BUFSIZ)) != NULL) { in cuserid()
/titanic_50/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),
/titanic_50/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.c87 getpwuid_r(uid_t uid, struct passwd *result, char *buffer, int buflen) in getpwuid_r() function
125 if ((*result = getpwuid_r(uid, pwd, buffer, (uintptr_t)bufsize)) in __posix_getpwuid_r()
/titanic_50/usr/src/lib/libsecdb/common/
H A Dgetuserattr.c98 if (getpwuid_r(u, &pwd, buf, NSS_BUFLEN_PASSWD) == NULL) in getuseruid()
/titanic_50/usr/src/cmd/pfexecd/
H A Dpfexecd.c282 if (getpwuid_r(uid, &pwdm, buf, sizeof (buf), &pwd) != 0 || pwd == NULL) in get_granted_privs()
380 if (getpwuid_r(uuid, &pw, buf, sizeof (buf), &pwd) != 0 || pwd == NULL) in callback_pfexec()
/titanic_50/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_logon.c243 if (getpwuid_r(entry->sa_uid, &pw, buf, sizeof (buf)) == NULL) in smbd_user_auth_logoff()
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-platform.h528 (*(OUT) = getpwuid_r(UID,REC,BUF,BUFSIZE), *(OUT) == NULL ? -1 : 0)
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_logon.c636 if (getpwuid_r(smbpw->pw_uid, &pw, pwbuf, sizeof (pwbuf)) == NULL) in smb_token_setup_local()
944 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()
/titanic_50/usr/src/lib/libnsl/rpc/
H A Dnetnamer.c340 if ((getpwuid_r(uidnu, &pw, pwbuf, sizeof (pwbuf))) == NULL) { in netname2user_ldap()
/titanic_50/usr/src/lib/libresolv2/include/
H A Dport_after.h383 getpwuid_r(uid_t uid, struct passwd *pwptr,
/titanic_50/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()
/titanic_50/usr/src/cmd/allocate/
H A Dallocate3.c158 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) in _is_authorized()
922 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) in exec_clean()
1652 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.c582 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) { in main()
/titanic_50/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c275 if ((getpwuid_r(euid, &pwd, buf, sizeof (buf)) == NULL) || in check_auth()
/titanic_50/usr/src/lib/c_synonyms/
H A Dsyn_common380 getpwuid_r
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_main.c637 if (getpwuid_r(uid, &cli->cli_pw, cli->cli_pw_buf, in new_req()
/titanic_50/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()
/titanic_50/usr/src/lib/libipadm/common/
H A Dlibipadm.c292 if (getpwuid_r(getuid(), &pwd, buf, sizeof (buf)) == NULL) in ipadm_check_auth()
/titanic_50/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()
/titanic_50/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c444 if ((getpwuid_r(uid, &pw, pw_buf, GETPWUID_BUFF_LEN)) == NULL) in getuname()

12