Searched refs:pwbuf (Results 1 – 4 of 4) sorted by relevance
/PHP-7.0/main/ |
H A D | fopen_wrappers.c | 374 char *pwbuf; local 380 pwbuf = emalloc(pwbuflen); 389 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) { 390 efree(pwbuf); 402 efree(pwbuf);
|
H A D | main.c | 1272 char *pwbuf; in php_get_current_user() 1277 pwbuf = emalloc(pwbuflen); in php_get_current_user() 1278 if (getpwuid_r(pstat->st_uid, &_pw, pwbuf, pwbuflen, &retpwptr) != 0) { in php_get_current_user() 1279 efree(pwbuf); in php_get_current_user() 1283 efree(pwbuf); in php_get_current_user() 1295 efree(pwbuf); in php_get_current_user()
|
/PHP-7.0/ext/posix/ |
H A D | posix.c | 1181 struct passwd pwbuf; in PHP_FUNCTION() local 1196 pw = &pwbuf; in PHP_FUNCTION() 1231 char *pwbuf; in PHP_FUNCTION() local 1244 pwbuf = emalloc(pwbuflen); in PHP_FUNCTION() 1246 ret = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr); in PHP_FUNCTION() 1249 efree(pwbuf); in PHP_FUNCTION() 1267 efree(pwbuf); in PHP_FUNCTION()
|
/PHP-7.0/ext/standard/ |
H A D | filestat.c | 520 char *pwbuf; in php_get_uid_by_name() local 526 pwbuf = emalloc(pwbuflen); in php_get_uid_by_name() 527 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) { in php_get_uid_by_name() 528 efree(pwbuf); in php_get_uid_by_name() 531 efree(pwbuf); in php_get_uid_by_name()
|
Completed in 27 milliseconds