Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/tests/file/
H A Dumask_basic.phpt16 var_dump( umask() );
18 if ($mask != umask()) {
27 -- Setting umask to 0 --
31 -- Setting umask to 1 --
35 -- Setting umask to 2 --
39 -- Setting umask to 3 --
43 -- Setting umask to 4 --
47 -- Setting umask to 5 --
51 -- Setting umask to 6 --
55 -- Setting umask to 7 --
[all …]
H A Dumask_variation1.phpt13 /* Check umask() on file/dir */
25 // setting umask
26 umask($mask);
58 -- Setting umask to 000 --
61 -- Setting umask to 001 --
64 -- Setting umask to 002 --
67 -- Setting umask to 003 --
70 -- Setting umask to 004 --
73 -- Setting umask to 005 --
76 -- Setting umask to 006 --
[all …]
H A Dumask_variation2.phpt13 /* Check umask() on file/dir */
25 // setting umask
26 umask($mask);
58 -- Setting umask to 351 --
61 -- Setting umask to 352 --
64 -- Setting umask to 353 --
67 -- Setting umask to 354 --
70 -- Setting umask to 355 --
73 -- Setting umask to 356 --
76 -- Setting umask to 357 --
[all …]
/PHP-8.0/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-8.0/ext/session/tests/
H A Dbug42596.phpt22 umask(0);
/PHP-8.0/ext/standard/
H A Dbasic_functions.h121 int umask; member
H A Dbasic_functions.c199 BG(umask) = -1; in basic_globals_ctor()
513 if (BG(umask) != -1) { in PHP_RSHUTDOWN_FUNCTION()
514 umask(BG(umask)); in PHP_RSHUTDOWN_FUNCTION()
2499 oldmask = umask(077);
2500 umask(oldmask);
H A Dfile.c1350 PHP_FUNCTION(umask) in PHP_FUNCTION() argument
1361 oldumask = umask(077); in PHP_FUNCTION()
1363 if (BG(umask) == -1) { in PHP_FUNCTION()
1364 BG(umask) = oldumask; in PHP_FUNCTION()
1368 umask(oldumask); in PHP_FUNCTION()
1370 umask((int) mask); in PHP_FUNCTION()
H A Dbasic_functions.stub.php776 function umask(?int $mask = null): int {} function
H A Dbasic_functions_arginfo.h2546 ZEND_FUNCTION(umask);
3183 ZEND_FE(umask, arginfo_umask)
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_sockets.c224 saved_umask = umask(0777 ^ wp->socket_mode); in fpm_sockets_new_listening_socket()
230 umask(saved_umask); in fpm_sockets_new_listening_socket()
239 umask(saved_umask); in fpm_sockets_new_listening_socket()
/PHP-8.0/sapi/litespeed/
H A Dlscriu.c371 iOldUMask = umask(0); in LSCRIU_Restored_Error()
374 umask(iOldUMask); in LSCRIU_Restored_Error()
/PHP-8.0/ext/fileinfo/libmagic/
H A Dcompress.c467 mode_t ou = umask(0); in file_pipe2file()
469 (void)umask(ou); in file_pipe2file()
/PHP-8.0/win32/
H A Dioutil.c82 current_umask = umask(0); in php_win32_ioutil_posix_to_open_opts()
83 umask(current_umask); in php_win32_ioutil_posix_to_open_opts()
/PHP-8.0/main/streams/
H A Dplain_wrapper.c1251 int oldmask = umask(077); in php_plain_files_rename()
1291 umask(oldmask); in php_plain_files_rename()
/PHP-8.0/ext/phar/
H A Dphar_object.c1665 mask = umask(0); in phar_build()
1666 umask(mask); in phar_build()
3644 mask = umask(0); in phar_add_file()
3645 umask(mask); in phar_add_file()
/PHP-8.0/
H A Dphp.ini-development1347 ; does not overwrite the process's umask.
H A Dphp.ini-production1349 ; does not overwrite the process's umask.

Completed in 91 milliseconds