Searched refs:pwbuf (Results 1 – 4 of 4) sorted by relevance
/PHP-7.2/main/ |
H A D | fopen_wrappers.c | 372 char *pwbuf; local 378 pwbuf = emalloc(pwbuflen); 387 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) { 388 efree(pwbuf); 400 efree(pwbuf);
|
H A D | main.c | 1316 char *pwbuf; in php_get_current_user() 1321 pwbuf = emalloc(pwbuflen); in php_get_current_user() 1322 if (getpwuid_r(pstat->st_uid, &_pw, pwbuf, pwbuflen, &retpwptr) != 0) { in php_get_current_user() 1323 efree(pwbuf); in php_get_current_user() 1327 efree(pwbuf); in php_get_current_user() 1339 efree(pwbuf); in php_get_current_user()
|
/PHP-7.2/ext/posix/ |
H A D | posix.c | 1199 struct passwd pwbuf; in PHP_FUNCTION() local 1214 pw = &pwbuf; in PHP_FUNCTION() 1249 char *pwbuf; in PHP_FUNCTION() local 1263 pwbuf = emalloc(pwbuflen); in PHP_FUNCTION() 1265 ret = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr); in PHP_FUNCTION() 1268 efree(pwbuf); in PHP_FUNCTION() 1286 efree(pwbuf); in PHP_FUNCTION()
|
/PHP-7.2/ext/standard/ |
H A D | filestat.c | 440 char *pwbuf; in php_get_uid_by_name() local 446 pwbuf = emalloc(pwbuflen); in php_get_uid_by_name() 447 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) { in php_get_uid_by_name() 448 efree(pwbuf); in php_get_uid_by_name() 451 efree(pwbuf); in php_get_uid_by_name()
|
Completed in 29 milliseconds