Searched refs:pwbuf (Results 1 – 4 of 4) sorted by relevance
/PHP-7.1/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 | 1322 char *pwbuf; in php_get_current_user() 1327 pwbuf = emalloc(pwbuflen); in php_get_current_user() 1328 if (getpwuid_r(pstat->st_uid, &_pw, pwbuf, pwbuflen, &retpwptr) != 0) { in php_get_current_user() 1329 efree(pwbuf); in php_get_current_user() 1333 efree(pwbuf); in php_get_current_user() 1345 efree(pwbuf); in php_get_current_user()
|
/PHP-7.1/ext/posix/ |
H A D | posix.c | 1190 struct passwd pwbuf; in PHP_FUNCTION() local 1205 pw = &pwbuf; in PHP_FUNCTION() 1240 char *pwbuf; in PHP_FUNCTION() local 1253 pwbuf = emalloc(pwbuflen); in PHP_FUNCTION() 1255 ret = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr); in PHP_FUNCTION() 1258 efree(pwbuf); in PHP_FUNCTION() 1276 efree(pwbuf); in PHP_FUNCTION()
|
/PHP-7.1/ext/standard/ |
H A D | filestat.c | 445 char *pwbuf; in php_get_uid_by_name() local 451 pwbuf = emalloc(pwbuflen); in php_get_uid_by_name() 452 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) { in php_get_uid_by_name() 453 efree(pwbuf); in php_get_uid_by_name() 456 efree(pwbuf); in php_get_uid_by_name()
|
Completed in 19 milliseconds