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

/darwin-on-arm/xnu/bsd/sys/
H A Dfcntl.h140 #define O_NOFOLLOW 0x0100 /* don't follow symlinks */ macro
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_core.c287 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.c2513 if ((error = vnode_open(filename, (O_CREAT | FWRITE | O_NOFOLLOW), 0600, 0, &vp, ctx)))
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_vnops.c396 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0 && (origcnflags & FOLLOW) != 0)
506 if (fmode & O_NOFOLLOW || fmode & O_SYMLINK || (origcnflags & FOLLOW) == 0) {
H A Dvfs_subr.c5025 if (fmode & O_NOFOLLOW)
5416 if (vp->v_type == VLNK && (fmode & O_NOFOLLOW) != 0) {
5417 return (ELOOP); /* O_NOFOLLOW was specified and the target is a symbolic link */

Completed in 88 milliseconds