Searched refs:pwbuflen (Results 1 – 4 of 4) sorted by relevance
/PHP-5.3/main/ |
H A D | safe_mode.c | 242 int pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); in php_get_current_user() 245 if (pwbuflen < 1) { in php_get_current_user() 248 pwbuf = emalloc(pwbuflen); in php_get_current_user() 249 if (getpwuid_r(pstat->st_uid, &_pw, pwbuf, pwbuflen, &retpwptr) != 0) { in php_get_current_user()
|
H A D | fopen_wrappers.c | 430 long pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); local 433 if (pwbuflen < 1) { 437 pwbuf = emalloc(pwbuflen); 446 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
|
/PHP-5.3/ext/posix/ |
H A D | posix.c | 1180 long pwbuflen; in PHP_FUNCTION() local 1190 pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); in PHP_FUNCTION() 1191 if (pwbuflen < 1) { in PHP_FUNCTION() 1194 pwbuf = emalloc(pwbuflen); in PHP_FUNCTION() 1196 ret = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr); in PHP_FUNCTION()
|
/PHP-5.3/ext/standard/ |
H A D | filestat.c | 521 long pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); in php_do_chown() local 524 if (pwbuflen < 1) { in php_do_chown() 528 pwbuf = emalloc(pwbuflen); in php_do_chown() 529 if (getpwnam_r(Z_STRVAL_P(user), &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) { in php_do_chown()
|
Completed in 22 milliseconds