Searched refs:getpwuid (Results 1 – 25 of 31) sorted by relevance
12
44 if ((user_pw = getpwuid(getuid())) == NULL) { in main()
100 pw = getpwuid(getuid()); in testAPI()
175 if ((pw = getpwuid(original_real_uid)) == NULL) in main()
458 if ((pw = getpwuid(getuid())) == NULL) { in main()
300 pw = getpwuid(original_real_uid); in main()1515 if ((pw = getpwuid(original_real_uid)) == NULL) in load_public_identity_files()
538 } else if ((pw = getpwuid(uid)) == NULL) /* ~/path */ in tilde_expand_filename()
480 if ((pwd = getpwuid(userid = getuid())) == NULL) in main()
312 pw = getpwuid(uid); in login_get_lastlog()
21 #define getpwuid(i) NULL macro
26 struct passwd* user = getpwuid(geteuid()); in ExpandPathVariables()
67 if ((pw = getpwuid(uid)) == NULL) { in user_from_uid()
381 if ((pwd = getpwuid(getuid())) == NULL)
143 pwd = getpwuid(ID0realuid()); in InterpretArg()214 pwd = getpwuid(ID0realuid()); in AllowUsers()
301 struct passwd *pwd = getpwuid(info->uid); in owner_mt_print_item_v0()350 struct passwd *pwd = getpwuid(info->uid); in owner_mt6_print_item_v0()399 const struct passwd *pwd = getpwuid(info->uid_min); in owner_mt_print_item()
163 p = getpwuid(euid); in main()
230 p = getpwuid(n->uid); in report_finding()
325 pw = getpwuid(getuid());
345 pw = getpwuid(uid); in parsehostname()
159 pw = getpwuid(getuid()); in open_known_hosts_file()
391 if ((pwd = getpwuid(userid = getuid())) == NULL) in scp_main()
421 } else if (passwd* pw = getpwuid(geteuid())) { in GetAppDataFolder()
31 pw = getpwuid (uid); in print_user()
49 …tpw() function is dangerous as it may overflow the provided buffer. It is obsoleted by getpwuid()}}
467 pw = getpwuid(getuid()); in options_from_user()
504 pw = getpwuid(uid);