Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 25 of 71) sorted by last modified time

123

/PHP-7.4/TSRM/
H A Dtsrm_win32.c685 shm->descriptor->shm_perm.gid = shm->descriptor->shm_perm.uid = 0; in shmget()
762 shm->descriptor->shm_perm.uid = buf->shm_perm.uid; in shmctl()
/PHP-7.4/ext/sysvmsg/
H A Dsysvmsg.c198 stat.msg_perm.uid = zval_get_long(item); in PHP_FUNCTION()
237 add_assoc_long(return_value, "msg_perm.uid", stat.msg_perm.uid); in PHP_FUNCTION()
/PHP-7.4/ext/standard/
H A Dfilestat.c444 PHPAPI uid_t php_get_uid_by_name(const char *name, uid_t *uid) in php_get_uid_by_name() argument
462 *uid = pw.pw_uid; in php_get_uid_by_name()
469 *uid = pw->pw_uid; in php_get_uid_by_name()
481 uid_t uid; in php_do_chown() local
526 uid = (uid_t)Z_LVAL_P(user); in php_do_chown()
528 if(php_get_uid_by_name(Z_STRVAL_P(user), &uid) != SUCCESS) { in php_do_chown()
544 ret = VCWD_LCHOWN(filename, uid, -1); in php_do_chown()
547 ret = VCWD_CHOWN(filename, uid, -1); in php_do_chown()
/PHP-7.4/main/streams/
H A Dplain_wrapper.c53 extern int php_get_uid_by_name(const char *name, uid_t *uid);
1421 uid_t uid; in php_plain_files_metadata() local
1460 if(php_get_uid_by_name((char *)value, &uid) != SUCCESS) { in php_plain_files_metadata()
1465 uid = (uid_t)*(long *)value; in php_plain_files_metadata()
1467 ret = VCWD_CHOWN(url, uid, -1); in php_plain_files_metadata()
H A Duserspace.c876 STAT_PROP_ENTRY(uid); in statbuf_from_array()
/PHP-7.4/appveyor/
H A Dtest_task.bat46 set ODBC_TEST_DSN=Driver={ODBC Driver 13 for SQL Server};Server=(local)\SQL2017;Database=master;uid
/PHP-7.4/ext/odbc/
H A Dphp_odbc.c2495 int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int cur_opt, int persis… in odbc_sqlconnect() argument
2540 if (uid && !strstr ((char*)db, "uid") && !strstr((char*)db, "UID")) { in odbc_sqlconnect()
2541 spprintf(&ldb, 0, "%s;UID=%s;PWD=%s", db, uid, pwd); in odbc_sqlconnect()
2552 rc = SQLConnect((*conn)->hdbc, db, SQL_NTS, uid, SQL_NTS, pwd, SQL_NTS); in odbc_sqlconnect()
2560 rc = SQLConnect((*conn)->hdbc, db, SQL_NTS, uid, SQL_NTS, pwd, SQL_NTS); in odbc_sqlconnect()
2590 char *db, *uid, *pwd; in odbc_do_connect() local
2600 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|l", &db, &db_len, &uid, &uid_len, &pwd, &pwd_len, … in odbc_do_connect()
2621 hashed_len = spprintf(&hashed_details, 0, "%s_%s_%s_%s_%d", ODBC_TYPE, db, uid, pwd, cur_opt); in odbc_do_connect()
2648 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 1)) { in odbc_do_connect()
2726 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 0)) { in odbc_do_connect()
/PHP-7.4/ext/posix/
H A Dposix.c71 ZEND_ARG_INFO(0, uid)
79 ZEND_ARG_INFO(0, uid)
190 ZEND_ARG_INFO(0, uid)
1270 zend_long uid; in PHP_FUNCTION() local
1281 Z_PARAM_LONG(uid) in PHP_FUNCTION()
1292 ret = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr); in PHP_FUNCTION()
1305 if (NULL == (pw = getpwuid(uid))) { in PHP_FUNCTION()
/PHP-7.4/sapi/litespeed/
H A Dlsapilib.c798 int uid = getuid(); in lsapi_load_lve_lib() local
799 if ( uid ) in lsapi_load_lve_lib()
1011 pw = getpwuid( uid ); in setUID_LVE()
1024 uid = s_defaultUid; in setUID_LVE()
1026 pw = getpwuid( uid ); in setUID_LVE()
1074 rv = setuid(uid); in setUID_LVE()
1108 int uid = s_defaultUid; in lsapi_changeUGid() local
1153 uid = 0; in lsapi_changeUGid()
1163 if ( !uid ) in lsapi_changeUGid()
1165 uid = s_defaultUid; in lsapi_changeUGid()
[all …]
/PHP-7.4/
H A Dphp.ini-development1087 ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
H A Dphp.ini-production1087 ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
/PHP-7.4/ext/sockets/tests/
H A Dsocket_cmsg_credentials.phpt78 [uid] => %d
/PHP-7.4/ext/sockets/
H A Dconversions.c1315 {"uid", sizeof("uid"), 1, offsetof(struct ucred, uid), from_zval_write_uid_t, to_zval_read_uid_t},
/PHP-7.4/ext/standard/tests/file/
H A Dlstat_stat_variation20.phpt103 ["uid"]=>
159 ["uid"]=>
213 ["uid"]=>
267 ["uid"]=>
H A Dlstat_stat_basic.phpt133 ["uid"]=>
187 ["uid"]=>
243 ["uid"]=>
297 ["uid"]=>
H A Dlstat_stat_variation18.phpt93 ["uid"]=>
149 ["uid"]=>
H A Dlstat_stat_variation19.phpt94 ["uid"]=>
148 ["uid"]=>
204 ["uid"]=>
258 ["uid"]=>
H A Dlstat_stat_variation2.phpt35 "dev", "ino", "mode", "nlink", "uid", "gid",
H A Dlstat_stat_variation10.phpt41 "dev", "ino", "mode", "nlink", "uid", "gid",
H A Dlstat_stat_variation3.phpt46 "dev", "ino", "mode", "nlink", "uid", "gid",
H A Dlchown_basic.phpt20 $uid = posix_getuid();
24 var_dump( lchown( $filename, $uid ) );
25 var_dump( fileowner( $symlink ) === $uid );
H A Dlchown_error.phpt22 $uid = posix_getuid();
29 var_dump( lchown( $filename, $uid, 'foobar' ) );
32 var_dump( lchown( 'foobar_lchown.txt', $uid ) );
35 var_dump( lchown( new StdClass(), $uid ) );
36 var_dump( lchown( array(), $uid ) );
/PHP-7.4/azure/
H A Dsetup-slapd.sh76 olcAuthzRegexp: uid=usera,cn=digest-md5,cn=auth cn=usera,dc=my-domain,dc=com
/PHP-7.4/sapi/fpm/tests/
H A Dsocket-uds-numeric-ugid-nonroot.phpt42 $pw = posix_getpwuid($st['uid']);
46 echo "{$st['uid']}/{$user},{$st['gid']}/{$group}\n";
H A Dsocket-uds-numeric-ugid.phpt37 $pw = posix_getpwuid($st['uid']);
41 echo "{$st['uid']}/{$user},{$st['gid']}/{$group}\n";

Completed in 153 milliseconds

123