Searched refs:umask (Results 151 - 175 of 176) sorted by relevance

12345678

/macosx-10.10/ICU-531.30/icuSources/tools/tzcode/
H A Dzic.c598 (void) umask(umask(S_IWGRP | S_IWOTH) | (S_IWGRP | S_IWOTH));
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/sh/
H A Dinit.c1309 umask(shp->mask=umask(0));
/macosx-10.10/mDNSResponder-561.1.1/mDNSShared/
H A Ddnssd_clientstub.c665 mask = umask(0);
667 umask(mask);
H A Duds_daemon.c5005 mode_t mask = umask(0);
5020 umask(mask);
/macosx-10.10/syslog-267/syslogd.tproj/
H A Dasl_action.c689 mask = umask(0);
691 umask(mask);
/macosx-10.10/OpenSSH-189/openssh/
H A Dsftp-server.c1394 "[-l log_level]\n\t[-u umask]\n",
1453 fatal("Invalid umask \"%s\"", optarg);
1454 (void)umask((mode_t)mask);
H A Dsftp.c243 "lumask umask Set local umask to 'umask'\n"
1424 umask(n_arg);
1425 printf("Local umask: %03lo\n", n_arg);
H A Dsession.c1093 umask((mode_t)mask);
1543 * own umask setting unless running with the user's UID.
H A Dssh-keygen.c1031 umask(077);
/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dtests.c3089 * Test mkdir, rmdir, umask system calls.
3119 /* set umask to clear WX for other and group and clear X for user */
3120 my_orig_mask = umask( (S_IXUSR | S_IWGRP | S_IXGRP | S_IWOTH | S_IXOTH) );
3123 /* create a directory with RWX for user, group, other (which should be limited by umask) */
3137 printf( "umask did not limit modes as it should have \n" );
3161 umask( my_orig_mask );
6430 * Test mkdirat, unlinkat, umask system calls.
6488 /* set umask to clear WX for other and group and clear X for user */
6489 my_orig_mask = umask( (S_IXUSR | S_IWGRP | S_IXGRP | S_IWOTH | S_IXOTH) );
6492 /* create a directory with RWX for user, group, other (which should be limited by umask) */
[all...]
/macosx-10.10/ruby-106/ruby/
H A Dfile.c2622 * File.umask() -> integer
2623 * File.umask(integer) -> integer
2625 * Returns the current umask value for this process. If the optional
2626 * argument is given, set the umask to that value and return the
2628 * default permissions, so a umask of <code>0222</code> would make a
2631 * File.umask(0006) #=> 18
2632 * File.umask #=> 6
2642 omask = umask(0);
2643 umask(omask);
2646 omask = umask(NUM2IN
[all...]
H A Dprocess.c1695 else if (id == rb_intern("umask")) {
1698 rb_raise(rb_eArgError, "umask option specified twice");
2921 mode_t oldmask = umask(mask); /* never fail */ /* async-signal-safe */
3832 * umask:
3833 * :umask => int
3870 * umask and
3911 * The <code>:umask</code> key in +options+ specifies the umask.
3913 * pid = spawn(command, :umask=>077)
/macosx-10.10/zsh-61/zsh/Src/
H A Dbuiltin.c124 BUILTIN("umask", 0, bin_umask, 0, 1, 0, "S", NULL),
6221 /* umask command. umask may be specified as octal digits, or in the *
6223 * that only the bottom nine bits of umask are used, so there's no *
6233 /* Get the current umask. */
6234 um = umask(0);
6235 umask(um);
6261 /* Simple digital umask. */
6264 zwarnnam(nam, "bad umask");
6295 zwarnnam(nam, "bad umask");
[all...]
/macosx-10.10/emacs-93/emacs/src/
H A Dfileio.c3487 umask ((~ XINT (mode)) & 0777);
3500 realmask = umask (0);
3501 umask (realmask);
H A Dsysdep.c3830 * child process is going away anyway, we zap its umask.
3834 status = umask (0); /* Get current umask */
3835 status = umask (status | (0777 & ~dmode)); /* Set for mkdir */
H A Dmac.c3229 umask (mode_t numask)
3225 umask (mode_t numask) function
/macosx-10.10/Heimdal-398.1.2/appl/ftp/ftpd/
H A Dftpd.c88 int defumask = CMASK; /* default umask value */
218 { NULL, 'g', arg_string, &guest_umask_string, "umask for guest logins" },
222 { NULL, 'u', arg_string, &umask_string, "umask for user logins" },
807 umask(defumask);
1776 chmod(name, 0700); /* guest has umask 777 */
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/examples/ftp/
H A Dftpdemo.tcl755 ftp::DisplayMsg $conn [ftp::Quote $conn site umask 022]
/macosx-10.10/emacs-93/emacs/lisp/
H A Dprinting.el1068 (let ((umask (default-file-modes))
1092 ;; Reset the umask.
1093 (set-default-file-modes umask)))))
/macosx-10.10/vim-55/runtime/syntax/
H A Dperl.vim82 syn match perlStatementFiles "\<\%(ch\%(dir\|mod\|own\|root\)\|glob\|link\|mkdir\|readlink\|rename\|rmdir\|symlink\|umask\|unlink\|utime\)\>"
H A Dsh.vim446 syn keyword shStatement break cd chdir continue eval exec exit kill newgrp pwd read readonly return shift test trap ulimit umask wait
H A Dphp.vim171 syn keyword phpFunctions basename chgrp chmod chown clearstatcache copy delete dirname disk_free_space disk_total_space diskfreespace fclose feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents file fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype flock fnmatch fopen fpassthru fputs fread fscanf fseek fstat ftell ftruncate fwrite glob is_dir is_executable is_file is_link is_readable is_uploaded_file is_writable is_writeable link linkinfo lstat mkdir move_uploaded_file parse_ini_file pathinfo pclose popen readfile readlink realpath rename rewind rmdir set_file_buffer stat symlink tempnam tmpfile touch umask unlink contained
/macosx-10.10/vim-55/src/
H A Dfileio.c7467 /* Make sure the umask doesn't remove the executable bit.
7469 umask_save = umask(077);
7473 (void)umask(umask_save);
/macosx-10.10/IOKitUser-1050.1.21/kext.subproj/
H A DOSKext.c3338 /* Set the umask to get it, then set it back to iself. Wish there were a
3341 realUmask = umask(0);
3342 umask(realUmask);
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_syscalls.c7770 * Parameters: p Process requesting to set the umask
7772 * retval umask of the process (parameter p)
7774 * Indirect: uap->newmask umask to set
7803 umask(proc_t p, struct umask_args *uap, int32_t *retval) function

Completed in 802 milliseconds

12345678