Home
last modified time | relevance | path

Searched refs:umask (Results 1 – 20 of 20) sorted by relevance

/PHP-7.4/ext/standard/tests/file/
H A Dumask_basic.phpt20 var_dump( umask() );
22 if ($mask != umask()) {
31 -- Setting umask to 0 --
35 -- Setting umask to 1 --
39 -- Setting umask to 2 --
43 -- Setting umask to 3 --
47 -- Setting umask to 4 --
51 -- Setting umask to 5 --
55 -- Setting umask to 6 --
59 -- Setting umask to 7 --
[all …]
H A Dumask_variation1.phpt17 /* Check umask() on file/dir */
29 // setting umask
30 umask($mask);
62 -- Setting umask to 000 --
65 -- Setting umask to 001 --
68 -- Setting umask to 002 --
71 -- Setting umask to 003 --
74 -- Setting umask to 004 --
77 -- Setting umask to 005 --
80 -- Setting umask to 006 --
[all …]
H A Dumask_variation2.phpt17 /* Check umask() on file/dir */
29 // setting umask
30 umask($mask);
62 -- Setting umask to 351 --
65 -- Setting umask to 352 --
68 -- Setting umask to 353 --
71 -- Setting umask to 354 --
74 -- Setting umask to 355 --
77 -- Setting umask to 356 --
80 -- Setting umask to 357 --
[all …]
/PHP-7.4/ext/phar/tests/
H A Dbug77022.phpt10 umask(022);
11 var_dump(decoct(umask()));
H A Dbug79082.phpt10 umask(022);
11 var_dump(decoct(umask()));
H A Dstat.phpt10 umask(0);
/PHP-7.4/ext/session/tests/
H A Dbug42596.phpt22 umask(0);
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_sockets.c216 saved_umask = umask(0777 ^ wp->socket_mode); in fpm_sockets_new_listening_socket()
222 umask(saved_umask); in fpm_sockets_new_listening_socket()
231 umask(saved_umask); in fpm_sockets_new_listening_socket()
/PHP-7.4/ext/standard/
H A Dfile.h50 PHP_FUNCTION(umask);
H A Dbasic_functions.h237 int umask; member
H A Dfile.c1411 PHP_FUNCTION(umask) in PHP_FUNCTION() argument
1416 oldumask = umask(077); in PHP_FUNCTION()
1418 if (BG(umask) == -1) { in PHP_FUNCTION()
1419 BG(umask) = oldumask; in PHP_FUNCTION()
1428 umask(oldumask); in PHP_FUNCTION()
1430 umask((int) mask); in PHP_FUNCTION()
H A Dbasic_functions.c3128 PHP_FE(umask, arginfo_umask)
3522 BG(umask) = -1; in basic_globals_ctor()
3833 if (BG(umask) != -1) { in PHP_RSHUTDOWN_FUNCTION()
3834 umask(BG(umask)); in PHP_RSHUTDOWN_FUNCTION()
5958 oldmask = umask(077);
5959 umask(oldmask);
/PHP-7.4/sapi/litespeed/
H A Dlscriu.c373 iOldUMask = umask(0); in LSCRIU_Restored_Error()
376 umask(iOldUMask); in LSCRIU_Restored_Error()
/PHP-7.4/win32/
H A Dioutil.c84 current_umask = umask(0); in php_win32_ioutil_posix_to_open_opts()
85 umask(current_umask); in php_win32_ioutil_posix_to_open_opts()
/PHP-7.4/main/streams/
H A Dplain_wrapper.c1243 int oldmask = umask(077); in php_plain_files_rename()
1283 umask(oldmask); in php_plain_files_rename()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dcompress.c438 (void)umask(ou); in file_pipe2file()
/PHP-7.4/ext/phar/
H A Dphar_object.c1694 mask = umask(0); in phar_build()
1695 umask(mask); in phar_build()
3698 mask = umask(0); in phar_add_file()
3699 umask(mask); in phar_add_file()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch1512 - mode_t ou = umask(0);
1514 (void)umask(ou);
/PHP-7.4/
H A Dphp.ini-development1340 ; does not overwrite the process's umask.
H A Dphp.ini-production1340 ; does not overwrite the process's umask.

Completed in 91 milliseconds