O_NOFOLLOW
{ "nofollow", O_NOFOLLOW, C_IFLAG|C_OFLAG },
if ((fd = open(file, O_RDWR|O_SYNC|O_RSYNC|O_NOFOLLOW, 0)) == -1)
#ifndef O_NOFOLLOW
O_NOFOLLOW|O_CREAT|O_TRUNC|O_EXCL|O_NOCTTY|O_DIRECTORY|O_REGULAR)
fd = open(fname, O_WRONLY | O_CREAT | O_EXCL | O_NOFOLLOW, S_IRUSR | S_IWUSR);
fdin = open(finput, O_RDONLY | O_NOFOLLOW);
O_RDWR|O_CREAT|O_APPEND|O_NONBLOCK|O_NOFOLLOW,
#if defined(O_NOFOLLOW)
score_fd = open(_PATH_SCORE, O_CREAT|O_RDWR|O_NOFOLLOW, 0664);
o |= O_NOFOLLOW;
return open(path, oflag | O_CLOEXEC | O_NOFOLLOW, mode);
if ((fd = open(path, O_RDONLY|O_NONBLOCK|O_NOFOLLOW, 0)) < 0) {
if ((mbfd = open(path, O_APPEND|O_WRONLY|O_EXLOCK|O_NOFOLLOW,
res |= cvtto_bsd_mask(lflags, LINUX_O_NOFOLLOW, O_NOFOLLOW);
res |= cvtto_linux_mask(bflags, O_NOFOLLOW, LINUX_O_NOFOLLOW);
SCARG(&oa, flags) |= O_NOFOLLOW;
error = vn_open(NULL, pb, 0, O_CREAT | O_NOFOLLOW | FWRITE,
((fmode & O_NOFOLLOW) == 0))
if ((fmode & O_NOFOLLOW) == 0)
flags |= (sflags & 0x20000) ? O_NOFOLLOW : 0;
O_RSYNC|O_NOCTTY|O_ALT_IO|O_NOFOLLOW|O_DIRECT|\
fd = open(files[i].name, O_RDONLY|O_NOFOLLOW);
ATF_REQUIRE_ERRNO(EINVAL, dup3(fd, 1, O_NOFOLLOW) == -1);
if ((fd = open(tempname, O_RDONLY|O_NOFOLLOW)) == -1 ||