php-src/main/streams
Stanislav Malyshev e3133e4db7 Fix bug #77630 - safer rename() procedure
In order to rename safer, we do the following:
- set umask to 077 (unfortunately, not TS, so excluding ZTS)
- chown() first, to set proper group before allowing group access
- chmod() after, even if chown() fails
2019-03-04 09:15:11 -08:00
..
cast.c year++ 2018-01-02 12:53:31 +08:00
filter.c year++ 2018-01-02 12:53:31 +08:00
glob_wrapper.c year++ 2018-01-02 12:53:31 +08:00
memory.c year++ 2018-01-02 12:53:31 +08:00
mmap.c year++ 2018-01-02 12:53:31 +08:00
php_stream_context.h year++ 2018-01-02 12:53:31 +08:00
php_stream_filter_api.h year++ 2018-01-02 12:53:31 +08:00
php_stream_glob_wrapper.h year++ 2018-01-02 12:53:31 +08:00
php_stream_mmap.h year++ 2018-01-02 12:53:31 +08:00
php_stream_plain_wrapper.h year++ 2018-01-02 12:53:31 +08:00
php_stream_transport.h year++ 2018-01-02 12:53:31 +08:00
php_stream_userspace.h year++ 2018-01-02 12:53:31 +08:00
php_streams_int.h Sync leading and final newlines in source code files 2018-10-14 12:51:01 +02:00
plain_wrapper.c Fix bug #77630 - safer rename() procedure 2019-03-04 09:15:11 -08:00
streams.c year++ 2018-01-02 12:53:31 +08:00
transports.c year++ 2018-01-02 12:53:31 +08:00
userspace.c Sync leading and final newlines in source code files 2018-10-14 12:51:01 +02:00
xp_socket.c year++ 2018-01-02 12:53:31 +08:00