Home
last modified time | relevance | path

Searched refs:php_check_open_basedir (Results 1 – 25 of 36) sorted by relevance

12

/PHP-8.4/ext/standard/
H A Dlink.c68 if (php_check_open_basedir(link)) { in PHP_FUNCTION()
106 if (php_check_open_basedir(dirname)) { in PHP_FUNCTION()
159 if (php_check_open_basedir(dest_p)) { in PHP_FUNCTION()
163 if (php_check_open_basedir(source_p)) { in PHP_FUNCTION()
207 if (php_check_open_basedir(dest_p)) { in PHP_FUNCTION()
211 if (php_check_open_basedir(source_p)) { in PHP_FUNCTION()
H A Dftok.c52 if (php_check_open_basedir(pathname)) { in PHP_FUNCTION()
H A Dfilestat.c181 if (php_check_open_basedir(fullpath)) { in PHP_FUNCTION()
263 if (php_check_open_basedir(fullpath)) { in PHP_FUNCTION()
376 if (php_check_open_basedir(filename)) { in php_do_chgrp()
515 if (php_check_open_basedir(filename)) { in php_do_chown()
583 if (php_check_open_basedir(filename)) { in PHP_FUNCTION()
660 if (php_check_open_basedir(filename)) { in PHP_FUNCTION()
748 && php_check_open_basedir(local)) { in php_stat()
820 && php_check_open_basedir(local)) { in php_stat()
H A Diptc.c191 if (php_check_open_basedir(jpeg_file)) { in PHP_FUNCTION()
H A Ddir.c245 if (php_check_open_basedir(str)) { in PHP_FUNCTION()
H A Dbasic_functions.c1780 if (php_check_open_basedir(filename)) {
2038 if (php_check_open_basedir(ZSTR_VAL(new_value_str))) {
2386 if (php_check_open_basedir(new_path)) {
H A Dfile.c1472 …ocate_url_wrapper(source, NULL, 0) == &php_plain_files_wrapper && php_check_open_basedir(source)) { in PHP_FUNCTION()
2174 if (php_check_open_basedir(resolved_path_buff)) { in PHP_FUNCTION()
/PHP-8.4/main/
H A Dfopen_wrappers.h29 PHPAPI int php_check_open_basedir(const char *path);
34 #define OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)
H A Dphp_open_temporary_file.c335 … (!(flags & PHP_TMP_FILE_OPEN_BASEDIR_CHECK_ON_FALLBACK) || !php_check_open_basedir(temp_dir))) { in php_open_temporary_fd_ex()
342 if ((flags & PHP_TMP_FILE_OPEN_BASEDIR_CHECK_ON_EXPLICIT_DIR) && php_check_open_basedir(dir)) { in php_open_temporary_fd_ex()
H A Dfopen_wrappers.c285 PHPAPI int php_check_open_basedir(const char *path) function
343 if (php_check_open_basedir((char *)path)) {
H A Dmain.c671 if (PG(open_basedir) && php_check_open_basedir(ZSTR_VAL(new_value))) { in PHP_INI_MH()
685 if (PG(open_basedir) && php_check_open_basedir(ZSTR_VAL(new_value))) { in PHP_INI_MH()
/PHP-8.4/ext/gd/
H A Dphp_gd.h28 if (!filename || php_check_open_basedir(filename)) { \
/PHP-8.4/ext/zip/
H A Dphp_zip.h50 #define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)
/PHP-8.4/main/streams/
H A Dplain_wrapper.c1075 if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(path)) { in php_plain_files_dir_opener()
1210 if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(path)) { in php_plain_files_stream_opener()
1251 if (php_check_open_basedir(url)) { in php_plain_files_unlink()
1296 if (php_check_open_basedir(url_from) || php_check_open_basedir(url_to)) { in php_plain_files_rename()
1377 if (php_check_open_basedir(dir)) { in php_plain_files_mkdir()
1396 if (php_check_open_basedir(buf)) { in php_plain_files_mkdir()
1478 if (php_check_open_basedir(url)) { in php_plain_files_rmdir()
1521 if (php_check_open_basedir(url)) { in php_plain_files_metadata()
1639 if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(filename)) { in _php_stream_fopen_with_path()
1651 if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(filename)) { in _php_stream_fopen_with_path()
[all …]
/PHP-8.4/ext/readline/
H A Dreadline.c390 if (arg && php_check_open_basedir(arg)) { in PHP_FUNCTION()
414 if (arg && php_check_open_basedir(arg)) { in PHP_FUNCTION()
/PHP-8.4/ext/session/
H A Dmod_files.c186 …if(PG(open_basedir) && lstat(buf, &sbuf) == 0 && S_ISLNK(sbuf.st_mode) && php_check_open_basedir(b… in ps_files_open()
377 if (php_check_open_basedir(save_path)) { in PS_OPEN_FUNC()
/PHP-8.4/ext/com_dotnet/
H A Dcom_persist.c373 if (php_check_open_basedir(fullpath)) { in CPH_METHOD()
432 if (php_check_open_basedir(fullpath)) { in CPH_METHOD()
/PHP-8.4/ext/fileinfo/
H A Dfileinfo.c189 if (php_check_open_basedir(file)) { in PHP_FUNCTION()
/PHP-8.4/ext/bz2/
H A Dbz2.c201 if (php_check_open_basedir(path_copy)) { in _php_stream_bz2open()
/PHP-8.4/ext/enchant/
H A Denchant.c482 if (php_check_open_basedir(pwl)) { in PHP_FUNCTION()
/PHP-8.4/ext/pdo_sqlite/
H A Dsqlite_driver.c768 if (php_check_open_basedir(fullpath)) { in make_filename_safe()
/PHP-8.4/ext/xsl/
H A Dxsltprocessor.c320 if (php_check_open_basedir(ZSTR_VAL(intern->profiling))) { in php_xsl_apply_stylesheet()
/PHP-8.4/ext/posix/
H A Dposix.c1290 } else if (php_check_open_basedir(path)) { in PHP_FUNCTION()
/PHP-8.4/ext/pdo_mysql/
H A Dmysql_driver.c800 if (local_infile_directory && !php_check_open_basedir(ZSTR_VAL(local_infile_directory))) {
/PHP-8.4/ext/phar/
H A Dutil.c225 if (!is_phar && php_check_open_basedir(filename)) { in phar_mount_entry()
759 if (php_check_open_basedir(phar->fname)) { in phar_open_archive_fp()

Completed in 79 milliseconds

12