Home
last modified time | relevance | path

Searched refs:chroot (Results 1 – 13 of 13) sorted by relevance

/PHP-8.1/ext/standard/tests/file/
H A Dchroot_001.phpt2 chroot()
10 if (!function_exists("chroot")) {
11 die("skip chroot() not available");
18 var_dump(chroot("chroot_001_x"));
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_unix.c317 if (wp->config->chroot && *wp->config->chroot) { in fpm_unix_conf_wp()
360 if (is_root && wp->config->chroot && *wp->config->chroot) { in fpm_unix_init_child()
361 if (0 > chroot(wp->config->chroot)) { in fpm_unix_init_child()
362 zlog(ZLOG_SYSERROR, "[pool %s] failed to chroot(%s)", wp->config->name, wp->config->chroot); in fpm_unix_init_child()
H A Dfpm_conf.h89 char *chroot; member
H A Dfpm_conf.c151 { "chroot", &fpm_conf_set_string, WPO(chroot) },
658 free(wpc->chroot); in fpm_worker_pool_config_free()
1059 if (wp->config->chroot && *wp->config->chroot) { in fpm_conf_process_all_pools()
1061 fpm_evaluate_full_path(&wp->config->chroot, wp, NULL, 1); in fpm_conf_process_all_pools()
1063 if (*wp->config->chroot != '/') { in fpm_conf_process_all_pools()
1064 …ROR, "[pool %s] the chroot path '%s' must start with a '/'", wp->config->name, wp->config->chroot); in fpm_conf_process_all_pools()
1068 if (!fpm_conf_is_dir(wp->config->chroot)) { in fpm_conf_process_all_pools()
1084 if (wp->config->chroot) { in fpm_conf_process_all_pools()
1087 spprintf(&buf, 0, "%s/%s", wp->config->chroot, wp->config->chdir); in fpm_conf_process_all_pools()
1156 if (!wp->config->chroot) { in fpm_conf_process_all_pools()
[all …]
/PHP-8.1/ext/standard/
H A Ddir.c273 PHP_FUNCTION(chroot) in PHP_FUNCTION() argument
283 ret = chroot(str); in PHP_FUNCTION()
H A Dconfig.m4362 AC_DEFINE(ENABLE_CHROOT_FUNC, 1, [Whether to enable chroot() function])
H A Dbasic_functions.stub.php950 function chroot(string $directory): bool {} function
H A Dbasic_functions_arginfo.h2531 ZEND_FUNCTION(chroot);
3171 ZEND_FE(chroot, arginfo_chroot)
/PHP-8.1/sapi/fpm/
H A Dwww.conf.in11 ; - 'chroot'
391 ; absolute path. When this value is not set, chroot is not used.
392 ; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
396 ; possible. However, all PHP paths will be relative to the chroot
399 ;chroot =
403 ; Default Value: current directory or / when chroot
/PHP-8.1/
H A Dconfigure.ac564 chroot \
H A Dphp.ini-development1907 ; Prevent name collisions in chroot'ed environment.
H A Dphp.ini-production1909 ; Prevent name collisions in chroot'ed environment.
/PHP-8.1/sapi/litespeed/
H A Dlsapilib.c1076 rv = chroot( pChroot ); in setUID_LVE()

Completed in 70 milliseconds