/external/selinux/libsemanage/src/ |
D | genhomedircon.c | 298 struct passwd *pwbuf; in get_home_dirs() local 368 pwbuf = getpwent(); in get_home_dirs() 369 if (pwbuf == NULL) in get_home_dirs() 371 if (pwbuf->pw_uid < minuid || pwbuf->pw_uid > maxuid) in get_home_dirs() 373 if (!semanage_list_find(shells, pwbuf->pw_shell)) in get_home_dirs() 375 int len = strlen(pwbuf->pw_dir) -1; in get_home_dirs() 376 for(; len > 0 && pwbuf->pw_dir[len] == '/'; len--) { in get_home_dirs() 377 pwbuf->pw_dir[len] = '\0'; in get_home_dirs() 379 if (strcmp(pwbuf->pw_dir, "/") == 0) in get_home_dirs() 381 if (ignore(pwbuf->pw_dir)) in get_home_dirs() [all …]
|
/external/curl/lib/ |
D | netrc.c | 229 char pwbuf[1024]; in Curl_parsenetrc() local 230 if(!getpwuid_r(geteuid(), &pw, pwbuf, sizeof(pwbuf), &pw_res) in Curl_parsenetrc()
|
D | curl_ntlm_wb.c | 126 char pwbuf[1024]; in ntlm_wb_init() local 156 !getpwuid_r(geteuid(), &pw, pwbuf, sizeof(pwbuf), &pw_res) && in ntlm_wb_init()
|
/external/e2fsprogs/lib/support/ |
D | profile.c | 486 char pwbuf[BUFSIZ]; in profile_open_file() local 489 if (!getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw) in profile_open_file()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 1645 INTERCEPTOR(int, getpwent_r, __sanitizer_passwd *pwbuf, char *buf, 1648 COMMON_INTERCEPTOR_ENTER(ctx, getpwent_r, pwbuf, buf, buflen, pwbufp); 1652 int res = REAL(getpwent_r)(pwbuf, buf, buflen, pwbufp); 1660 INTERCEPTOR(int, fgetpwent_r, void *fp, __sanitizer_passwd *pwbuf, char *buf, 1663 COMMON_INTERCEPTOR_ENTER(ctx, fgetpwent_r, fp, pwbuf, buf, buflen, pwbufp); 1667 int res = REAL(fgetpwent_r)(fp, pwbuf, buf, buflen, pwbufp); 1675 INTERCEPTOR(int, getgrent_r, __sanitizer_group *pwbuf, char *buf, SIZE_T buflen, 1678 COMMON_INTERCEPTOR_ENTER(ctx, getgrent_r, pwbuf, buf, buflen, pwbufp); 1682 int res = REAL(getgrent_r)(pwbuf, buf, buflen, pwbufp); 1690 INTERCEPTOR(int, fgetgrent_r, void *fp, __sanitizer_group *pwbuf, char *buf, [all …]
|
/external/ppp/pppd/ |
D | eap.c | 547 tpw.pebuf.password.len = t_fromb64((char *)tpw.pwbuf, 549 tpw.pebuf.password.data = tpw.pwbuf;
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 2050 INTERCEPTOR(int, getpwent_r, __sanitizer_passwd *pwbuf, char *buf, 2053 COMMON_INTERCEPTOR_ENTER(ctx, getpwent_r, pwbuf, buf, buflen, pwbufp); 2057 int res = REAL(getpwent_r)(pwbuf, buf, buflen, pwbufp); 2063 INTERCEPTOR(int, getgrent_r, __sanitizer_group *pwbuf, char *buf, SIZE_T buflen, 2066 COMMON_INTERCEPTOR_ENTER(ctx, getgrent_r, pwbuf, buf, buflen, pwbufp); 2070 int res = REAL(getgrent_r)(pwbuf, buf, buflen, pwbufp); 2084 INTERCEPTOR(int, fgetpwent_r, void *fp, __sanitizer_passwd *pwbuf, char *buf, 2087 COMMON_INTERCEPTOR_ENTER(ctx, fgetpwent_r, fp, pwbuf, buf, buflen, pwbufp); 2091 int res = REAL(fgetpwent_r)(fp, pwbuf, buf, buflen, pwbufp); 2104 INTERCEPTOR(int, fgetgrent_r, void *fp, __sanitizer_group *pwbuf, char *buf, [all …]
|