Home
last modified time | relevance | path

Searched refs:pw (Results 1 – 17 of 17) sorted by relevance

/PHP-8.2/ext/standard/
H A Dphp_crypt_r.c101 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 Dphp_crypt_r.h34 extern char * php_md5_crypt_r(const char *pw, const char *salt, char *out);
H A Dfilestat.c404 struct passwd pw; in php_get_uid_by_name() local
414 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) { in php_get_uid_by_name()
419 *uid = pw.pw_uid; in php_get_uid_by_name()
421 struct passwd *pw = getpwnam(name); in php_get_uid_by_name()
423 if (!pw) { in php_get_uid_by_name()
426 *uid = pw->pw_uid; in php_get_uid_by_name()
H A Dcrypt_freesec.c740 const char *pw; member
787 char *hash = crypt(tests[i].pw, tests[i].hash); in main()
/PHP-8.2/win32/
H A Dwinutil.c27 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-8.2/sapi/fpm/tests/
H A Dbug80669-uid-user-groups.phpt14 $pw = posix_getpwnam('www-data');
15 $uid = $pw['uid'];
16 $gid = $pw['gid'];
H A Dsocket-uds-numeric-ugid.phpt37 $pw = posix_getpwuid($st['uid']);
39 $user = $pw ? $pw['name'] : 'UNKNOWN';
H A Dsocket-uds-numeric-ugid-nonroot.phpt42 $pw = posix_getpwuid($st['uid']);
44 $user = $pw ? $pw['name'] : 'UNKNOWN';
/PHP-8.2/ext/posix/
H A Dposix.c882 if (NULL == pw) in php_posix_passwd_to_array()
890 add_assoc_long (return_value, "gid", pw->pw_gid); in php_posix_passwd_to_array()
901 struct passwd *pw; in PHP_FUNCTION() local
920 pw = &pwbuf; in PHP_FUNCTION()
923 if (getpwnam_r(name, pw, buf, buflen, &pw) || pw == NULL) { in PHP_FUNCTION()
934 if (NULL == (pw = getpwnam(name))) { in PHP_FUNCTION()
941 if (!php_posix_passwd_to_array(pw, return_value)) { in PHP_FUNCTION()
963 struct passwd *pw; in PHP_FUNCTION() local
988 pw = &_pw; in PHP_FUNCTION()
990 if (NULL == (pw = getpwuid(uid))) { in PHP_FUNCTION()
[all …]
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_expire_password.phpt96 /* 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-8.2/main/
H A Dfopen_wrappers.c377 struct passwd *pw; local
396 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
401 pw = getpwnam(user);
403 if (pw && pw->pw_dir) {
404 …filename = zend_strpprintf(0, "%s%c%s%c%s", pw->pw_dir, PHP_DIR_SEPARATOR, PG(user_dir), PHP_DIR_S…
/PHP-8.2/sapi/litespeed/
H A Dlsapilib.c972 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()
3843 struct passwd * pw; in lsapi_initSuEXEC() local
3875 pw = getpwnam( "nobody" ); in lsapi_initSuEXEC()
3876 if ( pw ) in lsapi_initSuEXEC()
3879 s_defaultUid = pw->pw_uid; in lsapi_initSuEXEC()
[all …]
/PHP-8.2/ext/standard/tests/url/
H A Dbase64_encode_basic_001.phpt205 0xA7: pw==
/PHP-8.2/ext/opcache/
H A DZendAccelerator.c4697 struct passwd *pw = getpwnam(ZCG(accel_directives).preload_user); local
4698 if (pw == NULL) {
4704 if (pw->pw_uid == euid) {
4717 if (setgid(pw->pw_gid) < 0) {
4718 zend_accel_error(ACCEL_LOG_WARNING, "Preloading failed to setgid(%d)", pw->pw_gid);
4721 if (initgroups(pw->pw_name, pw->pw_gid) < 0) {
4722 …l_error(ACCEL_LOG_WARNING, "Preloading failed to initgroups(\"%s\", %d)", pw->pw_name, pw->pw_uid);
4725 if (setuid(pw->pw_uid) < 0) {
4726 zend_accel_error(ACCEL_LOG_WARNING, "Preloading failed to setuid(%d)", pw->pw_uid);
/PHP-8.2/
H A Dphp.ini-development1119 ; https://php.net/odbc.default-pw
1200 ; https://php.net/mysqli.default-pw
H A Dphp.ini-production1121 ; https://php.net/odbc.default-pw
1202 ; https://php.net/mysqli.default-pw
/PHP-8.2/build/
H A Dlibtool.m41509 # 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…

Completed in 78 milliseconds