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

/PHP_TRUNK/ext/standard/
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);
H A Dfilestat.c517 struct passwd pw; local
527 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) {
532 *uid = pw.pw_uid;
534 struct passwd *pw = getpwnam(name);
536 if (!pw) {
539 *uid = pw->pw_uid;
H A Dcrypt_freesec.c746 char *pw; member in struct:__anon8
793 char *hash = crypt(tests[i].pw, tests[i].hash);
/PHP_TRUNK/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
3101 struct passwd * pw; local
[all...]
/PHP_TRUNK/main/
H A Dfopen_wrappers.c370 struct passwd *pw; local
389 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
394 pw = getpwnam(user);
396 if (pw && pw->pw_dir) {
397 spprintf(&filename, 0, "%s%c%s%c%s", pw->pw_dir, PHP_DIR_SEPARATOR, PG(user_dir), PHP_DIR_SEPARATOR, s + 1); /* Safe */
/PHP_TRUNK/ext/posix/
H A Dposix.c1151 int php_posix_passwd_to_array(struct passwd *pw, zval *return_value) /* {{{ */ argument
1153 if (NULL == pw)
1158 add_assoc_string(return_value, "name", pw->pw_name);
1159 add_assoc_string(return_value, "passwd", pw->pw_passwd);
1160 add_assoc_long (return_value, "uid", pw->pw_uid);
1161 add_assoc_long (return_value, "gid", pw->pw_gid);
1162 add_assoc_string(return_value, "gecos", pw->pw_gecos);
1163 add_assoc_string(return_value, "dir", pw->pw_dir);
1164 add_assoc_string(return_value, "shell", pw->pw_shell);
1173 struct passwd *pw; local
1230 struct passwd *pw; local
[all...]

Completed in 13 milliseconds