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

12

/macosx-10.9.5/gnutar-452/gnutar/lib/
H A Dfcntl_.h88 #ifndef O_NOFOLLOW
89 # define O_NOFOLLOW 0 macro
/macosx-10.9.5/cups-372.4/cups/cups/
H A Dtempfile.c131 #elif defined(O_NOFOLLOW)
132 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600);
/macosx-10.9.5/Libc-997.90.3/os/
H A Dtrace.c58 return open(suggestion, O_WRONLY | O_APPEND | O_CREAT | O_NOFOLLOW |
72 fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_NOFOLLOW | O_EXCL |
84 fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_NOFOLLOW |
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/dtrace/scripts/
H A Dio.d163 inline int O_NOFOLLOW = 0x0100;
164 #pragma D binding "1.1" O_NOFOLLOW
/macosx-10.9.5/text_cmds-87/sort/
H A Dsystem.h179 #if !defined O_NOFOLLOW
180 # define O_NOFOLLOW 0 macro
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dfcntl.h125 #define O_NOFOLLOW 0x0100 /* don't follow symlinks */ macro
/macosx-10.9.5/basic_cmds-55/uudecode/
H A Duudecode.c276 flags |= O_NOFOLLOW | O_TRUNC;
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/racoon/
H A Dplog.c261 if ((logfile_fd = open(logfile, O_CREAT | O_WRONLY | O_APPEND | O_NOFOLLOW, 0)) >= 0) {
/macosx-10.9.5/kext_tools-326.95.1/
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.9.5/xnu-2422.115.4/bsd/kern/
H A Dkern_core.c281 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.c3191 if ((error = vnode_open(filename, (O_CREAT | FWRITE | O_NOFOLLOW), 0600, 0, &vp, ctx)))
/macosx-10.9.5/securityd-55199.3/securityd_service/securityd_service/
H A Dmain.c274 fd = open(bag_file, O_CREAT | O_TRUNC | O_WRONLY | O_NOFOLLOW, 0600);
303 fd = open(bag_file, O_RDONLY | O_NOFOLLOW);
/macosx-10.9.5/vim-53/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.9.5/xnu-2422.115.4/bsd/vfs/
H A Dvfs_vnops.c401 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0 && (origcnflags & FOLLOW) != 0)
512 if (fmode & O_NOFOLLOW || fmode & O_SYMLINK || (origcnflags & FOLLOW) == 0) {
H A Dvfs_subr.c5015 if (fmode & O_NOFOLLOW)
5422 if (vp->v_type == VLNK && (fmode & O_NOFOLLOW) != 0) {
5423 return (ELOOP); /* O_NOFOLLOW was specified and the target is a symbolic link */
/macosx-10.9.5/PowerManagement-420.90.1/pmconfigd/
H A DPMConnection.c3051 if ((fd = open("/var/tmp/PMSleepWakeStacks.dump", O_CREAT|O_RDWR|O_NOFOLLOW, S_IRUSR|S_IWUSR|S_IRGRP)) < 0) {
3057 if ((fd = open("/var/tmp/PMSleepWakeLog.dump", O_CREAT|O_RDWR|O_NOFOLLOW, S_IRUSR|S_IWUSR|S_IRGRP)) < 0) {
/macosx-10.9.5/libdispatch-339.92.1/src/
H A Dinit.c387 O_NOFOLLOW | O_CLOEXEC, 0666);
H A Dio.c396 (path_data->oflag & O_NOFOLLOW) == O_NOFOLLOW ||
/macosx-10.9.5/copyfile-103.92.1/
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.9.5/ruby-104/ruby/
H A Dfile.c5641 #ifdef O_NOFOLLOW
5643 rb_define_const(rb_mFConst, "NOFOLLOW", INT2FIX(O_NOFOLLOW)); /* FreeBSD, Linux */

Completed in 269 milliseconds

12