Home
last modified time | relevance | path

Searched refs:pw_fields (Results 1 – 13 of 13) sorted by relevance

/freebsd/lib/libc/gen/
H A Dpw_scan.c91 pw->pw_fields = 0; in __pw_scan()
96 pw->pw_fields |= _PWF_NAME; in __pw_scan()
101 pw->pw_fields |= _PWF_PASSWD; in __pw_scan()
106 pw->pw_fields |= _PWF_UID; in __pw_scan()
141 pw->pw_fields |= _PWF_GID; in __pw_scan()
172 pw->pw_fields |= _PWF_CLASS; in __pw_scan()
177 pw->pw_fields |= _PWF_CHANGE; in __pw_scan()
183 pw->pw_fields |= _PWF_EXPIRE; in __pw_scan()
189 pw->pw_fields |= _PWF_GECOS; in __pw_scan()
194 pw->pw_fields |= _PWF_DIR; in __pw_scan()
[all …]
H A Dgetpwent.c916 pwd->pw_fields &= ~_PWF_SOURCE; in files_passwd()
917 pwd->pw_fields |= _PWF_FILES; in files_passwd()
986 SCALAR(pwd->pw_fields); in pwdb_parse_entry_v3()
1058 SCALAR(pwd->pw_fields); in pwdb_parse_entry_v4()
1183 pwd->pw_fields &= ~_PWF_SOURCE; in dns_passwd()
1184 pwd->pw_fields |= _PWF_HESIOD; in dns_passwd()
1404 pwd->pw_fields &= ~_PWF_SOURCE; in nis_passwd()
1405 pwd->pw_fields |= _PWF_NIS; in nis_passwd()
1439 if ((src->pw_fields & _PWF_PASSWD) && in compat_set_template()
1443 if (src->pw_fields & _PWF_UID) in compat_set_template()
[all …]
/freebsd/usr.sbin/rpc.yppasswdd/
H A Dyppasswdd_server.c84 pwd->pw_fields = xpwd->pw_fields; in xlate_passwd()
93 yp_password.pw_fields = 0; in copy_yp_pass()
110 yp_password.pw_fields |= _PWF_NAME; in copy_yp_pass()
112 yp_password.pw_fields |= _PWF_PASSWD; in copy_yp_pass()
115 yp_password.pw_fields |= _PWF_UID; in copy_yp_pass()
118 yp_password.pw_fields |= _PWF_GID; in copy_yp_pass()
121 yp_password.pw_fields |= _PWF_CLASS; in copy_yp_pass()
124 yp_password.pw_fields |= _PWF_CHANGE; in copy_yp_pass()
127 yp_password.pw_fields |= _PWF_EXPIRE; in copy_yp_pass()
130 yp_password.pw_fields |= _PWF_GECOS; in copy_yp_pass()
[all …]
H A Dyppasswd_private.x52 unsigned long pw_fields;/* internal: fields filled in */ member
/freebsd/usr.bin/chpass/
H A Dchpass.c149 if (pw != NULL && (pw->pw_fields & _PWF_SOURCE) == _PWF_NIS) { in main()
227 pw->pw_fields |= (old_pw->pw_fields & _PWF_SOURCE); in main()
228 switch (pw->pw_fields & _PWF_SOURCE) { in main()
/freebsd/lib/libpam/modules/pam_unix/
H A Dpam_unix.c313 (pwd->pw_fields & _PWF_SOURCE) == _PWF_FILES) in pam_sm_chauthtok()
318 (pwd->pw_fields & _PWF_SOURCE) == _PWF_NIS) { in pam_sm_chauthtok()
410 switch (old_pwd->pw_fields & _PWF_SOURCE) { in pam_sm_chauthtok()
448 pwd->pw_fields & _PWF_SOURCE); in pam_sm_chauthtok()
/freebsd/lib/libc/tests/nss/
H A Dgetpw_test.c112 pwd1->pw_fields != pwd2->pw_fields || in compare_passwd()
142 pwd->pw_fields); in sdump_passwd()
218 pwd->pw_fields = (int)strtol(s, &ts, 10); in passwd_read_snapshot_func()
/freebsd/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c373 SCALAR(pwd.pw_fields); in main()
388 SCALAR(pwd.pw_fields); in main()
466 pwd.pw_name, pwd.pw_fields & _PWF_UID ? uidstr : "", in main()
467 pwd.pw_fields & _PWF_GID ? gidstr : "", in main()
/freebsd/lib/libypclnt/
H A Dypclnt_passwd.c152 yppwd.newpw.pw_fields = pwd->pw_fields; in yppasswd_local()
/freebsd/include/
H A Dpwd.h122 int pw_fields; /* internal: fields filled in */ member
/freebsd/usr.bin/passwd/
H A Dpasswd.c112 switch (pwd->pw_fields & _PWF_SOURCE) { in main()
/freebsd/usr.sbin/pw/
H A Dpw_user.c895 ((pwd->pw_fields & _PWF_SOURCE) != _PWF_FILES)) { in pw_user_del()
896 if ((pwd->pw_fields & _PWF_SOURCE) == _PWF_NIS) { in pw_user_del()
1670 ((pwd->pw_fields & _PWF_SOURCE) != _PWF_FILES)) { in pw_user_mod()
1671 if ((pwd->pw_fields & _PWF_SOURCE) == _PWF_NIS) { in pw_user_mod()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_freebsd.h181 int pw_fields; member