/php-src/ext/standard/ |
H A D | php_crypt_r.c | 101 char * php_md5_crypt_r(const char *pw, const char *salt, char *out) in php_md5_crypt_r() argument 111 pwl = strlen(pw); in php_md5_crypt_r() 129 PHP_MD5Update(&ctx, (const unsigned char *)pw, pwl); in php_md5_crypt_r() 139 PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl); in php_md5_crypt_r() 141 PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl); in php_md5_crypt_r() 155 PHP_MD5Update(&ctx, (const unsigned char *)pw, 1); in php_md5_crypt_r() 173 PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl); in php_md5_crypt_r() 181 PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl); in php_md5_crypt_r() 186 PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl); in php_md5_crypt_r()
|
H A D | php_crypt_r.h | 34 extern char * php_md5_crypt_r(const char *pw, const char *salt, char *out);
|
H A D | filestat.c | 416 struct passwd pw; in php_get_uid_by_name() local 432 err = getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr); in php_get_uid_by_name() 443 *uid = pw.pw_uid; in php_get_uid_by_name() 445 struct passwd *pw = getpwnam(name); in php_get_uid_by_name() 447 if (!pw) { in php_get_uid_by_name() 450 *uid = pw->pw_uid; in php_get_uid_by_name()
|
H A D | crypt_freesec.c | 740 const char *pw; member 787 char *hash = crypt(tests[i].pw, tests[i].hash); in main()
|
/php-src/win32/ |
H A D | winutil.c | 27 wchar_t *bufw = NULL, *pw; in php_win32_error_to_msg() local 40 …for (pw = bufw + wcslen(bufw) - 1; pw >= bufw && (*pw == L'\r' || *pw == L'\n' || *pw == L'.'); pw… in php_win32_error_to_msg() 41 pw[1] = L'\0'; in php_win32_error_to_msg()
|
/php-src/sapi/fpm/tests/ |
H A D | bug80669-uid-user-groups.phpt | 14 $pw = posix_getpwnam('www-data'); 15 $uid = $pw['uid']; 16 $gid = $pw['gid'];
|
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-src/ext/posix/ |
H A D | posix.c | 904 if (NULL == pw) in php_posix_passwd_to_array() 912 add_assoc_long (return_value, "gid", pw->pw_gid); in php_posix_passwd_to_array() 923 struct passwd *pw; in PHP_FUNCTION() local 949 pw = &pwbuf; in PHP_FUNCTION() 950 err = getpwnam_r(name, pw, buf, buflen, &pw); in PHP_FUNCTION() 951 if (err || pw == NULL) { in PHP_FUNCTION() 962 if (NULL == (pw = getpwnam(name))) { in PHP_FUNCTION() 969 if (!php_posix_passwd_to_array(pw, return_value)) { in PHP_FUNCTION() 991 struct passwd *pw; in PHP_FUNCTION() local 1020 pw = &_pw; in PHP_FUNCTION() [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_expire_password.phpt | 96 /* allow connect, fix pw */ 106 printf("[008] Connect allowed, pw set, [%d] %s\n", $link->errno, $link->error); 141 [008] Connect allowed, pw set, [0%A
|
/php-src/main/ |
H A D | fopen_wrappers.c | 385 struct passwd *pw; local 402 err = getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw); 413 pw = getpwnam(user); 415 if (pw && pw->pw_dir) { 416 …filename = zend_strpprintf(0, "%s%c%s%c%s", pw->pw_dir, PHP_DIR_SEPARATOR, PG(user_dir), PHP_DIR_S…
|
/php-src/sapi/litespeed/ |
H A D | lsapilib.c | 972 ret = (*fp_lve_jail)( pw, error_msg ); in lsapi_jailLVE() 1014 struct passwd * pw; in setUID_LVE() local 1015 pw = getpwuid( uid ); in setUID_LVE() 1021 if ( pw && fp_lve_jail) in setUID_LVE() 1030 pw = getpwuid( uid ); in setUID_LVE() 1052 if ( pw && (pw->pw_gid == gid )) in setUID_LVE() 3838 struct passwd * pw; in lsapi_initSuEXEC() local 3870 pw = getpwnam( "nobody" ); in lsapi_initSuEXEC() 3871 if ( pw ) in lsapi_initSuEXEC() 3874 s_defaultUid = pw->pw_uid; in lsapi_initSuEXEC() [all …]
|
/php-src/ext/standard/tests/url/ |
H A D | base64_encode_basic_001.phpt | 205 0xA7: pw==
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 4735 struct passwd *pw = getpwnam(ZCG(accel_directives).preload_user); local 4736 if (pw == NULL) { 4742 if (pw->pw_uid == euid) { 4755 if (setgid(pw->pw_gid) < 0) { 4756 zend_accel_error(ACCEL_LOG_WARNING, "Preloading failed to setgid(%d)", pw->pw_gid); 4759 if (initgroups(pw->pw_name, pw->pw_gid) < 0) { 4760 …l_error(ACCEL_LOG_WARNING, "Preloading failed to initgroups(\"%s\", %d)", pw->pw_name, pw->pw_uid); 4763 if (setuid(pw->pw_uid) < 0) { 4764 zend_accel_error(ACCEL_LOG_WARNING, "Preloading failed to setuid(%d)", pw->pw_uid);
|
/php-src/ |
H A D | php.ini-development | 1100 ; https://php.net/odbc.default-pw 1181 ; https://php.net/mysqli.default-pw
|
H A D | php.ini-production | 1102 ; https://php.net/odbc.default-pw 1183 ; https://php.net/mysqli.default-pw
|
/php-src/build/ |
H A D | libtool.m4 | 1509 # pw32 DLLs use 'pw' prefix rather than 'lib' 1510 …library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g…
|