summaryrefslogtreecommitdiff
path: root/main/safe_mode.h
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'RELEASE_0_9b'.RELEASE_0_9bSVN Migration2003-05-141-39/+0
|
* ws fixes + missing $Id$ tags, headers addedfoobar2003-02-191-0/+20
|
* Bug #21531 file_exists() and other filestat functions throw errors when in ↵Sara Golemon2003-01-091-0/+4
| | | | | | | safe mode and file/directory does not exist. Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown.
* o Fixed Bug #12121: chdir and safe_modeJames E. Flemer2001-07-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - [ main/safe_mode.h ] added new checkuid mode: CHECKUID_ALLOW_ONLY_FILE: skips directory check if file check fails - [ ext/standard/dir.c ] changed php_checkuid() to use CHECKUID_ALLOW_ONLY_FILE instead of CHECKUID_ALLOW_ONLY_DIR - [ main/safe_mode.c ] added code for new checkuid mode o Fixed Bug #12119: safe mode owner check can be bypassed with symlink - [ main/safe_mode.c ] use VCWD_REALPATH to resolve destination of symlink before trimming filename o New Feature: safe_mode_include_dir (php.ini directive) - Allows bypassing UID/GID checks when including files from the directory in safe_mode_include_dir and its subdirectories. (safe_mode must be on, directory must also be in include_path or full path must be used when including) o Fixed Feature: safe_mode_gid (php.ini directive) - Correctly check (and report) UID/GID bits on directories o Changed include() fall back to scripts cwd implementation - CWD added to the (local) search path in php_fopen_with_path() instead of seperate case. [ main/fopen_wrappers.c ]
* - When mode is specified the flag is a don't careAndi Gutmans2000-11-021-0/+1
|
* - Define the different possible modes for readibility and use in the restAndi Gutmans2000-11-011-0/+6
| | | | | - of PHP
* Change header protection macros to conform to standard.Sascha Schumann2000-07-021-2/+2
| | | | | | | | | Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment" All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use by the implementation.
* - I wrote a long msg but the commit didn't go through.Zeev Suraski2000-06-251-1/+1
| | | | | | | | | | - So here is the short version: - a) Start moving to binary opens in Windows - b) Give checkuid_mode() a small face lift including the fopen-wrappers.c - The mode to this function should at least be a #define but that is for - another day. Anyway this whole stuff should be given more face lifts in - the future.
* More php3_ annihilationZeev Suraski1999-12-171-2/+2
|
* PHP 4.0Zeev Suraski1999-04-071-0/+7