php-src/main
James E. Flemer 771e3e498f o Fixed Bug #12121: chdir and safe_mode
- [ 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 ]
2001-07-13 18:21:21 +00:00
..
alloca.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
build-defs.h.in Fix bug #10563 2001-05-01 23:22:55 +00:00
config.w32.h enable get*by* networking functions + remove comments 2001-07-06 09:53:39 +00:00
fopen_wrappers.c o Fixed Bug #12121: chdir and safe_mode 2001-07-13 18:21:21 +00:00
fopen_wrappers.h - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
internal_functions_registry.h - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
internal_functions_win32.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
internal_functions.c.in - Finally rename modules.h to zend_modules.h for consistency (first try 2001-02-26 18:14:50 +00:00
logos.h *** empty log message *** 2000-04-19 23:18:15 +00:00
main.c o Fixed Bug #12121: chdir and safe_mode 2001-07-13 18:21:21 +00:00
Makefile.in Added files for PHP streams 2001-04-17 17:03:18 +00:00
mergesort.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
network.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
output.c use ZVAL_* macros 2001-07-11 15:27:37 +00:00
php3_compat.h - Move compat macros to php3_compat.h 2000-08-10 19:38:29 +00:00
php_compat.h These functions have been changed to macros. 2001-05-12 10:28:39 +00:00
php_content_types.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
php_content_types.h Change header protection macros to conform to standard. 2000-07-02 23:46:51 +00:00
php_globals.h o Fixed Bug #12121: chdir and safe_mode 2001-07-13 18:21:21 +00:00
php_ini.c Finish phpinfo() HTML 4.01 tweaking. 2001-06-19 15:21:28 +00:00
php_ini.h Recode delayed loading in a much simpler way (switched back to php_ini.c 1.49) 2001-03-17 23:35:32 +00:00
php_logos.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
php_logos.h - Fix name of function. 2001-05-21 17:48:49 +00:00
php_main.h renamed jstring to mbstring. 2001-05-01 01:52:55 +00:00
php_network.h Fixed Andi's build problem. 2001-05-05 22:36:26 +00:00
php_open_temporary_file.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
php_open_temporary_file.h - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
php_output.h Fix a major thread safety bug in the output mechanism 2001-07-02 18:17:10 +00:00
php_realpath.c - Try and fix problem with opening wrong file. 2000-08-27 18:01:17 +00:00
php_reentrancy.h Support for IRIX-style asctime_r/ctime_r. 2001-05-20 21:29:55 +00:00
php_regex.h Protect us from Apache 2.0's pcre-posix stuff 2000-10-26 18:15:56 +00:00
php_sprintf.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
php_streams.h Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
php_syslog.h Actually compile on systems without syslog. 2001-02-24 21:08:15 +00:00
php_ticks.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
php_ticks.h - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
php_variables.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
php_variables.h - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
php_version.h 4.0.6 is tagged, HEAD is now 4.0.7-dev 2001-05-11 18:03:42 +00:00
php.h Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
reentrancy.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
rfc1867.c Fix one problem with Opera browsers. Tested with IE,NS,Opera. 2001-06-19 16:54:30 +00:00
rfc1867.h Security related updates: 2000-09-09 11:41:14 +00:00
safe_mode.c o Fixed Bug #12121: chdir and safe_mode 2001-07-13 18:21:21 +00:00
safe_mode.h o Fixed Bug #12121: chdir and safe_mode 2001-07-13 18:21:21 +00:00
SAPI.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
SAPI.h @Added -C command-line option to avoid chdir to the script's directory (Stig) 2001-04-16 23:20:47 +00:00
snprintf.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
snprintf.h Add the capibility to to allow ap_php_(v)snprintf to replace (v)snprintf 2001-06-05 16:35:56 +00:00
streams.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
strlcat.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
strlcpy.c Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
win95nt.h MS VisualStudio .NET 7.0 has M_PI_4 in math.h 2001-05-17 09:55:03 +00:00