/PHP-7.4/ext/standard/ |
H A D | php_crypt_r.c | 146 pwl = (DWORD) strlen(pw); in php_md5_crypt_r() 168 if(!CryptHashData(ctx, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r() 187 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r() 193 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r() 213 CryptHashData(ctx, (const BYTE *)pw, 1, 0); in php_md5_crypt_r() 236 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r() 252 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r() 262 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r() 326 pwl = strlen(pw); in php_md5_crypt_r() 344 PHP_MD5Update(&ctx, (const unsigned char *)pw, pwl); in php_md5_crypt_r() [all …]
|
H A D | php_crypt_r.h | 50 extern char * php_md5_crypt_r(const char *pw, const char *salt, char *out);
|
H A D | filestat.c | 447 struct passwd pw; in php_get_uid_by_name() local 457 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) { in php_get_uid_by_name() 462 *uid = pw.pw_uid; in php_get_uid_by_name() 464 struct passwd *pw = getpwnam(name); in php_get_uid_by_name() 466 if (!pw) { in php_get_uid_by_name() 469 *uid = pw->pw_uid; in php_get_uid_by_name()
|
H A D | crypt_freesec.c | 742 const char *pw; member 789 char *hash = crypt(tests[i].pw, tests[i].hash); in main()
|
/PHP-7.4/sapi/fpm/tests/ |
H A D | socket-uds-numeric-ugid.phpt | 37 $pw = posix_getpwuid($st['uid']); 39 $user = $pw ? $pw['name'] : 'UNKNOWN';
|
H A D | socket-uds-numeric-ugid-nonroot.phpt | 42 $pw = posix_getpwuid($st['uid']); 44 $user = $pw ? $pw['name'] : 'UNKNOWN';
|
/PHP-7.4/ext/posix/ |
H A D | posix.c | 1195 if (NULL == pw) in php_posix_passwd_to_array() 1203 add_assoc_long (return_value, "gid", pw->pw_gid); in php_posix_passwd_to_array() 1215 struct passwd *pw; in PHP_FUNCTION() local 1234 pw = &pwbuf; in PHP_FUNCTION() 1237 if (getpwnam_r(name, pw, buf, buflen, &pw) || pw == NULL) { in PHP_FUNCTION() 1248 if (NULL == (pw = getpwnam(name))) { in PHP_FUNCTION() 1255 if (!php_posix_passwd_to_array(pw, return_value)) { in PHP_FUNCTION() 1278 struct passwd *pw; in PHP_FUNCTION() local 1303 pw = &_pw; in PHP_FUNCTION() 1305 if (NULL == (pw = getpwuid(uid))) { in PHP_FUNCTION() [all …]
|
/PHP-7.4/main/ |
H A D | fopen_wrappers.c | 375 struct passwd *pw; local 394 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) { 399 pw = getpwnam(user); 401 if (pw && pw->pw_dir) { 402 …spprintf(&filename, 0, "%s%c%s%c%s", pw->pw_dir, PHP_DIR_SEPARATOR, PG(user_dir), PHP_DIR_SEPARATO…
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_expire_password.phpt | 100 /* allow connect, fix pw */ 110 printf("[008] Connect allowed, pw set, [%d] %s\n", $link->errno, $link->error); 145 [008] Connect allowed, pw set, [0%A
|
/PHP-7.4/sapi/litespeed/ |
H A D | lsapilib.c | 966 ret = (*fp_lve_jail)( pw, error_msg ); in lsapi_jailLVE() 1010 struct passwd * pw; in setUID_LVE() local 1011 pw = getpwuid( uid ); in setUID_LVE() 1017 if ( pw && fp_lve_jail) in setUID_LVE() 1026 pw = getpwuid( uid ); in setUID_LVE() 1048 if ( pw && (pw->pw_gid == gid )) in setUID_LVE() 3818 struct passwd * pw; in lsapi_initSuEXEC() local 3850 pw = getpwnam( "nobody" ); in lsapi_initSuEXEC() 3851 if ( pw ) in lsapi_initSuEXEC() 3854 s_defaultUid = pw->pw_uid; in lsapi_initSuEXEC() [all …]
|
/PHP-7.4/ext/standard/tests/url/ |
H A D | base64_encode_basic_001.phpt | 194 0xA7: pw==
|
/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 4730 struct passwd *pw; in accel_finish_startup() 4739 pw = getpwnam(ZCG(accel_directives).preload_user); in accel_finish_startup() 4740 if (pw == NULL) { in accel_finish_startup() 4752 if (setgid(pw->pw_gid) < 0) { in accel_finish_startup() 4753 zend_accel_error(ACCEL_LOG_WARNING, "Preloading failed to setgid(%d)", pw->pw_gid); in accel_finish_startup() 4756 if (initgroups(pw->pw_name, pw->pw_gid) < 0) { in accel_finish_startup() 4757 …l_error(ACCEL_LOG_WARNING, "Preloading failed to initgroups(\"%s\", %d)", pw->pw_name, pw->pw_uid); in accel_finish_startup() 4760 if (setuid(pw->pw_uid) < 0) { in accel_finish_startup() 4761 zend_accel_error(ACCEL_LOG_WARNING, "Preloading failed to setuid(%d)", pw->pw_uid); in accel_finish_startup()
|
/PHP-7.4/ |
H A D | php.ini-development | 1103 ; http://php.net/odbc.default-pw 1180 ; http://php.net/mysqli.default-pw
|
H A D | php.ini-production | 1103 ; http://php.net/odbc.default-pw 1180 ; http://php.net/mysqli.default-pw
|
/PHP-7.4/build/ |
H A D | libtool.m4 | 1498 # pw32 DLLs use 'pw' prefix rather than 'lib' 1499 …library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g…
|