Searched refs:O_NOFOLLOW (Results 1 - 25 of 29) sorted by relevance

12

/macosx-10.10/gnutar-453/gnutar/lib/
H A Dfcntl_.h88 #ifndef O_NOFOLLOW
89 # define O_NOFOLLOW 0 macro
/macosx-10.10/cups-408/cups/cups/
H A Dtempfile.c123 #elif defined(O_NOFOLLOW)
124 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600);
/macosx-10.10/Libc-1044.1.2/os/
H A Ddebug_private.c56 return open(suggestion, O_WRONLY | O_APPEND | O_CREAT | O_NOFOLLOW |
70 fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_NOFOLLOW | O_EXCL |
82 fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_NOFOLLOW |
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/scripts/
H A Dio.d163 inline int O_NOFOLLOW = 0x0100;
164 #pragma D binding "1.1" O_NOFOLLOW
/macosx-10.10/text_cmds-88/sort/
H A Dsystem.h179 #if !defined O_NOFOLLOW
180 # define O_NOFOLLOW 0 macro
/macosx-10.10/basic_cmds-55/uudecode/
H A Duudecode.c276 flags |= O_NOFOLLOW | O_TRUNC;
/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/
H A Dplog.c261 if ((logfile_fd = open(logfile, O_CREAT | O_WRONLY | O_APPEND | O_NOFOLLOW, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) >= 0) {
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dfcntl.h125 #define O_NOFOLLOW 0x0100 /* don't follow symlinks */ macro
/macosx-10.10/kext_tools-384.1.4/
H A Dsafecalls.c233 // omitting O_NOFOLLOW except when creating gives better errors
234 // flags |= O_NOFOLLOW;
236 // if creating, make sure it doesn't exist (O_NOFOLLOW for good measure)
238 flags |= O_EXCL | O_NOFOLLOW;
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_core.c285 if ((error = vnode_open(name, (O_CREAT | FWRITE | O_NOFOLLOW), S_IRUSR, VNODE_LOOKUP_NOFOLLOW, &vp, ctx)))
H A Dkern_shutdown.c222 if ((error = vnode_open(PROC_SHUTDOWN_LOG, (O_CREAT | FWRITE | O_NOFOLLOW), 0644, 0, &sd_logvp, ctx))) {
H A Dkdebug.c3153 if ((error = vnode_open(filename, (O_CREAT | FWRITE | O_NOFOLLOW), 0600, 0, &vp, ctx)))
/macosx-10.10/Security-57031.1.35/securityd/securityd_service/securityd_service/
H A Dmain.c275 fd = open(bag_file, O_CREAT | O_TRUNC | O_WRONLY | O_NOFOLLOW, 0600);
304 fd = open(bag_file, O_RDONLY | O_NOFOLLOW);
/macosx-10.10/syslog-267/aslcommon/
H A Dasl_common.c2534 fd = open("/", O_RDONLY | O_NOFOLLOW, 0);
2546 fd_next = openat(fd, path_parts[i], O_RDONLY | O_NOFOLLOW, 0);
/macosx-10.10/vim-55/src/
H A Dvim.h1474 #ifndef O_NOFOLLOW
1475 # define O_NOFOLLOW 0 macro
H A Dmemfile.c1371 flags |= O_EXTRA | O_NOFOLLOW;
H A Dfileio.c3760 O_CREAT|O_WRONLY|O_EXCL|O_NOFOLLOW, perm);
3988 O_WRONLY|O_CREAT|O_EXTRA|O_EXCL|O_NOFOLLOW,
5008 O_CREAT | O_EXTRA | O_EXCL | O_NOFOLLOW,
6681 O_CREAT|O_EXCL|O_WRONLY|O_EXTRA|O_NOFOLLOW, (int)perm);
H A Dundo.c1421 O_CREAT|O_EXTRA|O_WRONLY|O_EXCL|O_NOFOLLOW, perm);
H A Dex_cmds.c1915 /* Use mch_open() to be able to use O_NOFOLLOW and set file
1923 O_CREAT|O_EXTRA|O_EXCL|O_WRONLY|O_NOFOLLOW,
1928 O_CREAT|O_EXTRA|O_EXCL|O_WRONLY|O_NOFOLLOW, 0600);
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_vnops.c401 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0 && (origcnflags & FOLLOW) != 0)
513 if (fmode & O_NOFOLLOW || fmode & O_SYMLINK || (origcnflags & FOLLOW) == 0) {
/macosx-10.10/libdispatch-442.1.4/src/
H A Dinit.c500 O_NOFOLLOW | O_CLOEXEC, 0666);
H A Dio.c397 (path_data->oflag & O_NOFOLLOW) == O_NOFOLLOW ||
/macosx-10.10/copyfile-118.1.2/
H A Dcopyfile.c1536 * O_SYMLINK and O_NOFOLLOW are not compatible options:
1537 * if the file is a symlink, and O_NOFOLLOW is specified,
1545 osrc = (s->flags & COPYFILE_NOFOLLOW_SRC) ? O_NOFOLLOW : 0;
1578 dsrc = O_NOFOLLOW;
/macosx-10.10/ruby-106/ruby/
H A Dfile.c5641 #ifdef O_NOFOLLOW
5643 rb_define_const(rb_mFConst, "NOFOLLOW", INT2FIX(O_NOFOLLOW)); /* FreeBSD, Linux */
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/
H A DIOPMrootDomain.cpp8818 if (vnode_open(name, (O_CREAT | FWRITE | O_NOFOLLOW),
8869 if (vnode_open(dstFname, (O_CREAT | FWRITE | O_NOFOLLOW),
9011 if (vnode_open(hibernateFilename, (FREAD | O_NOFOLLOW), 0,

Completed in 515 milliseconds

12