Searched refs:pw (Results 251 - 275 of 291) sorted by relevance

<<1112

/freebsd-11-stable/gnu/usr.bin/rcs/lib/
H A Drcsutil.c366 struct passwd const *pw = getpwuid(ruid()); local
367 if (!pw)
371 name = pw->pw_name;
/freebsd-11-stable/usr.sbin/edquota/
H A Dedquota.c339 struct passwd *pw; local
346 if ((pw = getpwnam(name)))
347 return (pw->pw_uid);
/freebsd-11-stable/usr.bin/stat/
H A Dstat.c622 struct passwd *pw; local
720 if ((pw = getpwuid(st->st_uid)) != NULL)
721 sdata = pw->pw_name;
/freebsd-11-stable/sbin/fsck_ffs/
H A Dinode.c610 struct passwd *pw; local
618 if ((pw = getpwuid((int)DIP(dp, di_uid))) != NULL)
619 printf("%s ", pw->pw_name);
/freebsd-11-stable/stand/ficl/
H A Dwords.c1164 UNS32 *pw; local
1168 pw = (UNS32 *)stackPopPtr(pVM->pStack);
1169 PUSHUNS((FICL_UNS)*pw);
1175 UNS32 *pw; local
1179 pw = (UNS32 *)stackPopPtr(pVM->pStack);
1180 *pw = (UNS32)(stackPop(pVM->pStack).u);
1185 UNS16 *pw; local
1189 pw = (UNS16 *)stackPopPtr(pVM->pStack);
1190 PUSHUNS((FICL_UNS)*pw);
1196 UNS16 *pw; local
[all...]
/freebsd-11-stable/sbin/mount/
H A Dmount.c663 struct passwd *pw; local
680 if ((pw = getpwuid(sfp->f_owner)) != NULL)
681 (void)printf("%s", pw->pw_name);
/freebsd-11-stable/contrib/tcsh/
H A Dsh.exp.c634 struct passwd *pw; local
904 if (altout && (pw = xgetpwuid(st->st_uid))) {
906 return(Strsave(str2short(pw->pw_name)));
H A Dsh.c631 struct passwd *pw; local
642 if ((pw = xgetpwuid(euid)) == NULL)
645 setcopy(STReuser, str2short(pw->pw_name), VAR_READWRITE);
657 else if ((pw = xgetpwuid(uid)) == NULL)
660 setcopy(STRuser, str2short(pw->pw_name), VAR_READWRITE);
H A Dtc.os.c1590 cygwin_xcrypt(struct passwd *pw, const char *password, const char *expected_pwd) argument
1593 HANDLE token = cygwin_logon_user(pw, password);
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dieee802_11.c395 struct sae_password_entry *pw; local
401 for (pw = hapd->conf->sae_passwords; pw; pw = pw->next) {
402 if (!is_broadcast_ether_addr(pw->peer_addr) &&
403 os_memcmp(pw->peer_addr, sta->addr, ETH_ALEN) != 0)
405 if ((rx_id && !pw->identifier) || (!rx_id && pw->identifier))
407 if (rx_id && pw
[all...]
H A Dwps_hostapd.c2044 struct wpabuf *pw; local
2062 pw = hapd->conf->wps_nfc_dev_pw;
2064 wpabuf_len(pw) * 2 + 1);
2068 wpabuf_len(pw) * 2),
2069 wpabuf_len(pw) * 2 + 1,
2070 wpabuf_head(pw), wpabuf_len(pw));
/freebsd-11-stable/contrib/telnet/telnet/
H A Dcommands.c2484 struct passwd *pw;
2488 ((pw = getpwnam(user)) && pw->pw_uid != getuid())) {
2489 if ((pw = getpwuid(getuid())))
2490 user = pw->pw_name;
2476 struct passwd *pw; local
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dap.c1454 const struct wpabuf *pw, const u8 *pubkey_hash)
1491 pw ? wpabuf_head(pw) : NULL,
1492 pw ? wpabuf_len(pw) : 0, 1);
1453 wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id, const struct wpabuf *pw, const u8 *pubkey_hash) argument
H A Dwpa_supplicant.c1614 struct wpabuf *pw = ext_password_get(wpa_s->ext_pw, local
1619 if (pw == NULL) {
1625 if (wpabuf_len(pw) < 8 || wpabuf_len(pw) > 64) {
1628 (int) wpabuf_len(pw));
1629 ext_password_free(pw);
1633 os_memcpy(pw_str, wpabuf_head(pw), wpabuf_len(pw));
1634 pw_str[wpabuf_len(pw)] = '\0';
1637 if (wpabuf_len(pw) >
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Dcrypto.c2865 const struct _hx509_password *pw; local
2903 pw = _hx509_lock_get_passwords(lock);
2906 for (i = 0; i < pw->len + 1; i++) {
2910 if (i < pw->len)
2911 password = pw->val[i];
2912 else if (i < pw->len + 1)
H A Dsoftp11.c826 struct passwd *pw = getpwuid(getuid()); local
827 if(pw != NULL)
828 home = pw->pw_dir;
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c174 struct passwd *pw = k_getpwuid(getuid()); local
176 if (pw != NULL)
177 myname = pw->pw_name;
/freebsd-11-stable/sys/geom/
H A Dgeom_subr.c874 int pw, pe; local
930 pw = pp->acw - cp->acw;
944 else if (dce > 0 && pw > 0)
/freebsd-11-stable/libexec/ftpd/
H A Dftpcmd.y1266 (pw ? pw -> pw_name : "unknown"), timeout);
1696 user = pw->pw_name;
/freebsd-11-stable/crypto/openssh/
H A Dsshconnect.c1361 struct sockaddr *hostaddr, u_short port, struct passwd *pw, int timeout_ms)
1366 local_user = xstrdup(pw->pw_name);
1360 ssh_login(Sensitive *sensitive, const char *orighost, struct sockaddr *hostaddr, u_short port, struct passwd *pw, int timeout_ms) argument
H A Dsshd.c658 if (authctxt->pw->pw_uid == 0) {
691 do_setusercontext(authctxt->pw);
2138 temporarily_use_uid(authctxt->pw);
H A Dservconf.c764 struct passwd *pw; local
769 if ((pw = getpwnam(user)) == NULL) {
772 } else if (ga_init(pw->pw_name, pw->pw_gid) == 0) {
/freebsd-11-stable/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c648 scan(FILE *fp, struct passwd *pw) argument
684 if (!__pw_scan(line, pw, _PWSCAN_WARN|_PWSCAN_MASTER)) {
/freebsd-11-stable/usr.sbin/inetd/
H A Dinetd.c1679 struct passwd *pw; local
1692 if ((pw = getpwnam(user)) == NULL) {
1696 sep->se_sockuid = pw->pw_uid;
/freebsd-11-stable/contrib/tzcode/zic/
H A Dzic.c2734 struct passwd *pw; local
2739 pw = getpwnam(name);
2740 if (pw == 0) {
2751 *flag = pw->pw_uid;

Completed in 249 milliseconds

<<1112