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/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/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...]
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c25133 static int posixFchown(int fd, uid_t uid, gid_t gid){ argument
25137 return geteuid() ? 0 : fchown(fd,uid,gid);
30570 uid_t uid; /* Userid for the file */ local
[all...]
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c635 shm->descriptor->shm_perm.gid = shm->descriptor->shm_perm.uid = 0;
699 shm->descriptor->shm_perm.uid = buf->shm_perm.uid;
H A Dtsrm_win32.h32 unsigned short uid; member in struct:ipc_perm
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c2363 int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int cur_opt, int persistent) argument
2384 if (strstr(db, "uid") || strstr(db, "UID")) {
2385 uid = NULL;
2396 if (uid) {
2397 if (uid[0]) {
2399 strlcat(lpszConnStr, uid, CONNSTRSIZE);
2446 if (uid && !strstr ((char*)db, "uid") && !strstr((char*)db, "UID")) {
2447 spprintf(&ldb, 0, "%s;UID=%s;PWD=%s", db, uid, pwd);
2458 rc = SQLConnect((*conn)->hdbc, db, SQL_NTS, uid, SQL_NT
2497 char *db, *uid, *pwd; local
[all...]
/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 zend_long uid; local
[all...]
/PHP_TRUNK/ext/sockets/
H A Dconversions.c1310 {"uid", sizeof("uid"), 1, offsetof(struct ucred, uid), from_zval_write_uid_t, to_zval_read_uid_t},
/PHP_TRUNK/ext/standard/
H A Dfilestat.c526 PHPAPI uid_t php_get_uid_by_name(const char *name, uid_t *uid) argument
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) != SUCCESS) {
610 php_error_docref(NULL, 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 zend_long uid; local
105 uid = php_getuid();
106 if (uid < 0) {
109 RETURN_LONG(uid);
/PHP_TRUNK/ext/sysvmsg/
H A Dsysvmsg.c173 if ((item = zend_hash_str_find(Z_ARRVAL_P(data), "msg_perm.uid", sizeof("msg_perm.uid") - 1)) != NULL) {
175 stat.msg_perm.uid = Z_LVAL_P(item);
215 add_assoc_long(return_value, "msg_perm.uid", stat.msg_perm.uid);
/PHP_TRUNK/main/streams/
H A Dplain_wrapper.c53 extern int php_get_uid_by_name(const char *name, uid_t *uid);
1291 uid_t uid; local
1333 if(php_get_uid_by_name((char *)value, &uid) != SUCCESS) {
1334 php_error_docref1(NULL, url, E_WARNING, "Unable to find uid for %s", (char *)value);
1338 uid = (uid_t)*(long *)value;
1340 ret = VCWD_CHOWN(url, uid, -1);
H A Duserspace.c845 STAT_PROP_ENTRY(uid);

Completed in 182 milliseconds