Searched refs:pw (Results 1 - 8 of 8) sorted by relevance

/PHP_5_4/ext/standard/
H A Dcrypt_freesec.c748 char *pw; member in struct:__anon433
795 char *hash = crypt(tests[i].pw, tests[i].hash);
H A Dfilestat.c529 struct passwd pw; local
539 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) {
544 *uid = pw.pw_uid;
546 struct passwd *pw = getpwnam(name);
548 if (!pw) {
551 *uid = pw->pw_uid;
H A Dphp_crypt_r.c127 char * php_md5_crypt_r(const char *pw, const char *salt, char *out) { argument
147 pwl = (unsigned int) strlen(pw);
171 if(!CryptHashData(ctx, (BYTE *)pw, pwl, 0)) {
185 /* MD5(pw,salt,pw), valid. */
186 /* Then just as many characters of the MD5(pw,salt,pw) */
190 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) {
196 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) {
202 /* MD5(pw,sal
319 php_md5_crypt_r(const char *pw, const char *salt, char *out) argument
[all...]
H A Dphp_crypt_r.h51 extern char * php_md5_crypt_r(const char *pw, const char *salt, char *out);
/PHP_5_4/ext/posix/
H A Dposix.c1090 int php_posix_passwd_to_array(struct passwd *pw, zval *return_value) /* {{{ */ argument
1092 if (NULL == pw)
1097 add_assoc_string(return_value, "name", pw->pw_name, 1);
1098 add_assoc_string(return_value, "passwd", pw->pw_passwd, 1);
1099 add_assoc_long (return_value, "uid", pw->pw_uid);
1100 add_assoc_long (return_value, "gid", pw->pw_gid);
1101 add_assoc_string(return_value, "gecos", pw->pw_gecos, 1);
1102 add_assoc_string(return_value, "dir", pw->pw_dir, 1);
1103 add_assoc_string(return_value, "shell", pw->pw_shell, 1);
1112 struct passwd *pw; local
1169 struct passwd *pw; local
[all...]
/PHP_5_4/main/
H A Dfopen_wrappers.c374 struct passwd *pw; local
393 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
398 pw = getpwnam(user);
400 if (pw && pw->pw_dir) {
401 spprintf(&filename, 0, "%s%c%s%c%s", pw->pw_dir, PHP_DIR_SEPARATOR, PG(user_dir), PHP_DIR_SEPARATOR, s + 1); /* Safe */
/PHP_5_4/sapi/apache_hooks/
H A Dphp_apache.c933 const char *pw; local
947 pw = NULL;
948 status = ap_get_basic_auth_pw(r, &pw);
949 if (status == OK && pw) {
950 ZVAL_STRING(zpw, (char *)pw, 1);
/PHP_5_4/sapi/litespeed/
H A Dlsapilib.c746 static int lsapi_jailLVE( LSAPI_Request * pReq, uid_t uid, struct passwd * pw )
751 ret = (*fp_lve_jail)( pw, error_msg );
795 struct passwd * pw; local
796 pw = getpwuid( uid );
802 if ( pw && fp_lve_jail)
804 rv = lsapi_jailLVE( pReq, uid, pw );
811 pw = getpwuid( uid );
833 if ( pw && (pw->pw_gid == gid ))
835 rv = initgroups( pw
3082 struct passwd * pw; local
[all...]

Completed in 16 milliseconds