Searched refs:uid (Results 1 - 18 of 18) sorted by relevance

/PHP_TRUNK/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc50 'uid' => 0,
90 sprintf('%6s ',decoct($stat['uid'])),
162 'uid' => 0,
H A Dmake.dangerous.tar.php.inc51 'uid' => 0,
84 sprintf('%6s ',decoct($stat['uid'])),
155 'uid' => 0,
H A Dtarmaker.php.inc50 'uid' => 0,
83 sprintf('%6s ',decoct($stat['uid'])),
154 'uid' => 0,
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dtar.h56 char uid[8]; member in struct:record::header
/PHP_TRUNK/ext/sockets/
H A Dconversions.c1341 {"uid", sizeof("uid"), 1, offsetof(struct ucred, uid), from_zval_write_uid_t, to_zval_read_uid_t},
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c636 shm->descriptor->shm_perm.gid = shm->descriptor->shm_perm.uid = 0;
700 shm->descriptor->shm_perm.uid = buf->shm_perm.uid;
H A Dtsrm_win32.h29 unsigned short uid; member in struct:ipc_perm
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c2351 int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int cur_opt, int persistent TSRMLS_DC) argument
2372 if (strstr(db, "uid") || strstr(db, "UID")) {
2373 uid = NULL;
2384 if (uid) {
2385 if (uid[0]) {
2387 strlcat(lpszConnStr, uid, CONNSTRSIZE);
2434 if (uid && !strstr ((char*)db, "uid") && !strstr((char*)db, "UID")) {
2435 spprintf(&ldb, 0, "%s;UID=%s;PWD=%s", db, uid, pwd);
2446 rc = SQLConnect((*conn)->hdbc, db, SQL_NTS, uid, SQL_NT
2485 char *db, *uid, *pwd; local
[all...]
/PHP_TRUNK/ext/phar/
H A Dpharzip.h146 char uid[2]; /* UID Short user ID */ member in struct:_phar_zip_unix3
H A Dtar.h44 char uid[8]; /* owner user ID */ member in struct:_old_tar_header
68 char uid[8]; /* owner user ID */ member in struct:_tar_header
/PHP_TRUNK/ext/posix/
H A Dposix.c75 ZEND_ARG_INFO(0, uid)
83 ZEND_ARG_INFO(0, uid)
194 ZEND_ARG_INFO(0, uid)
459 /* {{{ proto bool posix_setuid(long uid)
467 /* {{{ proto bool posix_setgid(int uid)
475 /* {{{ proto bool posix_seteuid(long uid)
485 /* {{{ proto bool posix_setegid(long uid)
1099 add_assoc_long (return_value, "uid", pw->pw_uid);
1157 /* {{{ proto array posix_getpwuid(long uid)
1161 long uid; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dfilestat.c526 PHPAPI uid_t php_get_uid_by_name(const char *name, uid_t *uid TSRMLS_DC)
544 *uid = pw.pw_uid;
551 *uid = pw->pw_uid;
563 uid_t uid; local
607 uid = (uid_t)Z_LVAL_P(user);
609 if(php_get_uid_by_name(Z_STRVAL_P(user), &uid TSRMLS_CC) != SUCCESS) {
610 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find uid for %s", Z_STRVAL_P(user));
625 ret = VCWD_LCHOWN(filename, uid, -1);
628 ret = VCWD_CHOWN(filename, uid, -1);
857 "dev", "ino", "mode", "nlink", "uid", "gi
[all...]
H A Dpageinfo.c99 long uid; local
105 uid = php_getuid(TSRMLS_C);
106 if (uid < 0) {
109 RETURN_LONG(uid);
/PHP_TRUNK/ext/sysvmsg/
H A Dsysvmsg.c173 if (zend_hash_find(Z_ARRVAL_P(data), "msg_perm.uid", sizeof("msg_perm.uid"), (void **) &item) == SUCCESS) {
175 stat.msg_perm.uid = Z_LVAL_PP(item);
215 add_assoc_long(return_value, "msg_perm.uid", stat.msg_perm.uid);
/PHP_TRUNK/main/streams/
H A Duserspace.c899 STAT_PROP_ENTRY(uid);
H A Dplain_wrapper.c52 extern int php_get_uid_by_name(const char *name, uid_t *uid TSRMLS_DC);
1266 uid_t uid; local
1310 if(php_get_uid_by_name((char *)value, &uid TSRMLS_CC) != SUCCESS) {
1311 php_error_docref1(NULL TSRMLS_CC, url, E_WARNING, "Unable to find uid for %s", (char *)value);
1315 uid = (uid_t)*(long *)value;
1317 ret = VCWD_CHOWN(url, uid, -1);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c24009 static int posixFchown(int fd, uid_t uid, gid_t gid){ argument
24010 return geteuid() ? 0 : fchown(fd,uid,gid);
29383 uid_t uid; /* Userid for the file */ local
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c593 int uid = getuid(); local
594 if ( uid )
596 setreuid( s_uid, uid );
599 setreuid( uid, s_uid );
725 static int lsapi_enterLVE( LSAPI_Request * pReq, uid_t uid )
728 if ( s_lve && uid ) //root user should not do that
732 ret = (*fp_lve_enter)(s_lve, uid, -1, -1, &cookie);
735 fprintf( stderr, "Pid (%d): enter LVE (%d) : ressult: %d !\n", getpid(), uid, ret );
746 static int lsapi_jailLVE( LSAPI_Request * pReq, uid_t uid, struct passwd * pw ) argument
755 getpid(), uid, re
792 setUID_LVE(LSAPI_Request * pReq, uid_t uid, gid_t gid, const char * pChroot) argument
893 int uid = s_defaultUid; local
[all...]

Completed in 211 milliseconds