History log of /PHP-5.3/main/safe_mode.c (Results 51 – 75 of 85)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d87cc976 28-Jul-2001 Zeev Suraski

Redesigned thread safety mechanism - nua nua


Revision tags: PRE_TSRM_MERGE_PATCH
# 721c562e 16-Jul-2001 Rasmus Lerdorf

Fix a couple of build warnings


# 771e3e49 13-Jul-2001 James E. Flemer

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

- [ ex

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 ]

show more ...


# 89a73df3 09-Jul-2001 Rasmus Lerdorf

Fix Windows build (I think)


# 934e10c7 09-Jul-2001 Rasmus Lerdorf

Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
a gid check instead of a uid check.
@ - Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
@ a

Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
a gid check instead of a uid check.
@ - Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
@ a gid check instead of a uid check. (James E. Flemer, Rasmus)

show more ...


Revision tags: PRE_GRANULAR_GARBAGE_FIX, php-4.0.6, php-4.0.6RC4, php-4.0.6RC3
# 81e2cf03 06-Jun-2001 Rasmus Lerdorf

Fix folding and clean up some extensions


# 25c3a3a3 05-Jun-2001 Rasmus Lerdorf

vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions


Revision tags: php-4.0.6RC2, php-4.0.6RC1, php-4.0.5
# 4c823e8a 30-Apr-2001 Andi Gutmans

- Change macros from V_ to VCWD_ because of AIX name clash


Revision tags: php-4.0.5RC8, php-4.0.5RC7, php-4.0.5RC6, php-4.0.5RC5, php-4.0.5RC4, php-4.0.5RC3, php-4.0.5RC2, php-4.0.5RC1
# eb6ba01d 26-Feb-2001 Andi Gutmans

- Fix copyright notices with 2001


# 033190cb 12-Feb-2001 Andi Gutmans

- Fix warning
PR:
Submitted by:
Reviewed by:
Obtained from:


Revision tags: php-4.0.4pl1, php-4.0.4pl1RC2
# 0719e7e0 09-Jan-2001 Thies C. Arntzen

@- Allow access to uploaded files in safe_mode. Beware that you can only
@ read the file. If you copy it to new location the copy will not have the
@ right UID and you script won't be able

@- Allow access to uploaded files in safe_mode. Beware that you can only
@ read the file. If you copy it to new location the copy will not have the
@ right UID and you script won't be able to access that copy. (Thies)

show more ...


Revision tags: php-4.0.4pl1RC1, php-4.0.4REL
# 86a1cace 16-Dec-2000 Andi Gutmans

- Make all places use MAXPATHLEN in the same way. It includes the
terminating NULL.


Revision tags: php-4.0.4RC6, php-4.0.4RC5, php-4.0.4RC4, php-4.0.4RC3
# 6139a2c8 01-Nov-2000 Andi Gutmans

- Define the different possible modes for readibility and use in the rest
- of PHP


# 8907e17b 01-Nov-2000 Andi Gutmans

- In function declerations the opening { should be on a new line


Revision tags: php-4.0.3, php-4.0.3RC2, php-4.0.3RC1, php-4.0.2, PRE_LIBMYSQL_REVERT, php-4.0.2RC1, PRE_FILE_COMPILE_API_CHANGE, PRE_METHOD_CALL_SEPERATE_FIX_PATCH, php-4.0.1pl1, php-4.0.1, php-4.0.1RC2, php-4.0.1RC
# 6614e8ed 25-Jun-2000 Zeev Suraski

- I wrote a long msg but the commit didn't go through.
- So here is the short version:
- a) Start moving to binary opens in Windows
- b) Give checkuid_mode() a small face lift including t

- I wrote a long msg but the commit didn't go through.
- 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.

show more ...


Revision tags: PRE_EIGHT_BYTE_ALLOC_PATCH, php-4.0.0
# e043439f 18-May-2000 Zeev Suraski

Update the license with the new clause 6


Revision tags: php-4.0RC2
# e40268d0 20-Apr-2000 Andi Gutmans

- Add missing V_STAT()


# 1665cba7 15-Apr-2000 Andi Gutmans

- Change PHP_ to V_ (directory & file functions)


# f9547241 30-Mar-2000 Andi Gutmans

- Fix another bug in session.c
- Start using the new PHP_GETCWD() and co. macros


Revision tags: PHP-4.0-RC1, php-4.0b4pl1, php-4.0b4, php-4.0b4_rc1
# 9b621d1c 19-Feb-2000 Zeev Suraski

Get the license right... (this won't make it to RC1 of B4)


Revision tags: BEFORE_SAPI_POST_PATCH_17_FEB_2000
# 49e98c3d 10-Feb-2000 Zeev Suraski

request_info.c is dead! long live SAPI
@- Finished the server abstraction layer; All of the PHP code is now shared
@ across different servers (Apache, CGI, IIS, etc.), except for thin
@

request_info.c is dead! long live SAPI
@- Finished the server abstraction layer; All of the PHP code is now shared
@ across different servers (Apache, CGI, IIS, etc.), except for thin
@ interface modules (Zeev)

show more ...


Revision tags: BEFORE_SAPIFICATION_FEB_10_2000
# 41f6bca9 10-Feb-2000 Zeev Suraski

More cleanup!


# 7d926a0e 10-Feb-2000 Zeev Suraski

More cleanup...


Revision tags: BEFORE_PRE_SHUTDOWN_REVERSE_PATCH
# e8b74e56 08-Jan-2000 Rasmus Lerdorf

# Fix silly typo


# 43ae2bff 01-Jan-2000 Sascha Schumann

Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).


1234