Searched defs:gid (Results 1 - 10 of 10) sorted by relevance

/PHP_5_6/ext/fileinfo/libmagic/
H A Dtar.h57 char gid[8]; member in struct:record::header
/PHP_5_6/TSRM/
H A Dtsrm_win32.h30 unsigned short gid; member in struct:ipc_perm
/PHP_5_6/ext/phar/
H A Dpharzip.h147 char gid[2]; /* GID Short group ID */ member in struct:_phar_zip_unix3
H A Dtar.h45 char gid[8]; /* owner group ID */ member in struct:_old_tar_header
69 char gid[8]; /* owner group ID */ member in struct:_tar_header
/PHP_5_6/ext/posix/
H A Dposix.c91 ZEND_ARG_INFO(0, gid)
99 ZEND_ARG_INFO(0, gid)
186 ZEND_ARG_INFO(0, gid)
934 add_assoc_long(array_group, "gid", g->gr_gid);
1038 /* {{{ proto array posix_getgrgid(long gid)
1042 long gid; local
1052 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &gid) == FAILURE) {
1064 ret = getgrgid_r(gid, &_g, grbuf, grbuflen, &retgrptr);
1072 if (NULL == (g = getgrgid(gid))) {
1100 add_assoc_long (return_value, "gid", p
[all...]
/PHP_5_6/ext/standard/
H A Dfilestat.c389 PHPAPI int php_get_gid_by_name(const char *name, gid_t *gid TSRMLS_DC)
407 *gid = gr.gr_gid;
414 *gid = gr->gr_gid;
426 gid_t gid; local
469 gid = (gid_t)Z_LVAL_P(group);
471 if(php_get_gid_by_name(Z_STRVAL_P(group), &gid TSRMLS_CC) != SUCCESS) {
472 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find gid for %s", Z_STRVAL_P(group));
487 ret = VCWD_LCHOWN(filename, -1, gid);
490 ret = VCWD_CHOWN(filename, -1, gid);
857 "dev", "ino", "mode", "nlink", "uid", "gid", "rde
[all...]
H A Dpageinfo.c118 long gid; local
124 gid = php_getgid(TSRMLS_C);
125 if (gid < 0) {
128 RETURN_LONG(gid);
/PHP_5_6/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);
29384 gid_t gid; /* Groupid for the file */ local
[all...]
/PHP_5_6/main/streams/
H A Dplain_wrapper.c53 extern int php_get_gid_by_name(const char *name, gid_t *gid TSRMLS_DC);
1267 gid_t gid; local
1322 if(php_get_gid_by_name((char *)value, &gid TSRMLS_CC) != SUCCESS) {
1323 php_error_docref1(NULL TSRMLS_CC, url, E_WARNING, "Unable to find gid for %s", (char *)value);
1327 gid = (gid_t)*(long *)value;
1329 ret = VCWD_CHOWN(url, -1, gid);
/PHP_5_6/sapi/litespeed/
H A Dlsapilib.c792 static int setUID_LVE(LSAPI_Request * pReq, uid_t uid, gid_t gid, const char * pChroot) argument
810 gid = s_defaultGid;
816 //if ( !uid || !gid ) //do not allow root
827 rv = setgid(gid);
833 if ( pw && (pw->pw_gid == gid ))
835 rv = initgroups( pw->pw_name, gid );
844 rv = setgroups(1, &gid);
894 int gid = s_defaultGid; local
920 gid = *(((uint32_t *)pEnv->pValue) + 1 );
921 //fprintf( stderr, "LSAPI: SUEXEC_UGID set UID: %d, GID: %d\n", uid, gid );
[all...]

Completed in 189 milliseconds