Home
last modified time | relevance | path

Searched refs:O_NOFOLLOW (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-10-stable/tools/regression/pjdfstest/tests/open/
D16.t15 expect ELOOP open ${n1} O_RDONLY,O_CREAT,O_NOFOLLOW 0644
16 expect ELOOP open ${n1} O_RDONLY,O_NOFOLLOW
17 expect ELOOP open ${n1} O_WRONLY,O_NOFOLLOW
18 expect ELOOP open ${n1} O_RDWR,O_NOFOLLOW
/freebsd-10-stable/contrib/pjdfstest/tests/open/
D16.t23 expect $error open ${n1} O_RDONLY,O_CREAT,O_NOFOLLOW 0644
24 expect $error open ${n1} O_RDONLY,O_NOFOLLOW
25 expect $error open ${n1} O_WRONLY,O_NOFOLLOW
26 expect $error open ${n1} O_RDWR,O_NOFOLLOW
/freebsd-10-stable/sys/sys/
Dfcntl.h100 #define O_NOFOLLOW 0x0100 /* don't follow symlinks */ macro
153 #define FPOSIXSHM O_NOFOLLOW
/freebsd-10-stable/lib/libc/db/db/
Ddb.c53 (O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \ in dbopen()
/freebsd-10-stable/contrib/unbound/compat/
Dgetentropy_osx.c168 #ifdef O_NOFOLLOW in getentropy_urandom()
169 flags |= O_NOFOLLOW; in getentropy_urandom()
Dgetentropy_solaris.c183 #ifdef O_NOFOLLOW in getentropy_urandom()
184 flags |= O_NOFOLLOW; in getentropy_urandom()
Dgetentropy_linux.c242 #ifdef O_NOFOLLOW in getentropy_urandom()
243 flags |= O_NOFOLLOW; in getentropy_urandom()
/freebsd-10-stable/usr.bin/cmp/
Dcmp.c74 oflag |= O_NOFOLLOW; in main()
/freebsd-10-stable/usr.sbin/pmcstat/
Dpmcpl_gprof.c131 if ((fd = open(pathname, O_RDWR|O_NOFOLLOW|O_CREAT, in pmcstat_gmon_create_file()
208 if ((fd = open(pathname, O_RDWR | O_NOFOLLOW, 0)) < 0) in pmcstat_gmon_map_file()
/freebsd-10-stable/contrib/xz/src/xz/
Dfile_io.c554 #if defined(O_NOFOLLOW) in io_open_src_real()
556 flags |= O_NOFOLLOW; in io_open_src_real()
587 #ifdef O_NOFOLLOW in io_open_src_real()
/freebsd-10-stable/sys/cddl/compat/opensolaris/kern/
Dopensolaris_kobj.c86 flags = FREAD | O_NOFOLLOW; in kobj_open_file_vnode()
/freebsd-10-stable/contrib/openbsm/bin/auditdistd/
Dreceiver.c320 O_WRONLY | O_APPEND | O_NOFOLLOW); in receiver_open()
334 O_WRONLY | O_CREAT | O_EXCL | O_NOFOLLOW, 0600); in receiver_open()
/freebsd-10-stable/contrib/pf/pflogd/
Dprivsep.c153 O_RDWR|O_CREAT|O_APPEND|O_NONBLOCK|O_NOFOLLOW, in priv_init()
/freebsd-10-stable/tools/tools/pciroms/
Dpciroms.c320 if ((fd = open(filename, O_CREAT|O_RDWR|O_TRUNC|O_NOFOLLOW, in pci_save_rom()
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/sys/
Dt_dup.c239 ATF_REQUIRE_ERRNO(EINVAL, dup3(fd, 1, O_NOFOLLOW) == -1); in ATF_TC_BODY()
/freebsd-10-stable/contrib/libarchive/libarchive/
Darchive_write_disk_posix.c160 #if defined O_NOFOLLOW && !(INT_MIN <= O_NOFOLLOW && O_NOFOLLOW <= INT_MAX)
161 #undef O_NOFOLLOW
164 #ifndef O_NOFOLLOW
165 #define O_NOFOLLOW 0 macro
2297 O_BINARY | O_CLOEXEC | O_NOFOLLOW); in create_filesystem_object()
2450 O_WRONLY | O_BINARY | O_NOFOLLOW | O_CLOEXEC); in _archive_write_disk_close()
/freebsd-10-stable/sys/dev/nand/
Dnandsim_swap.c150 flags = FWRITE | FREAD | O_NOFOLLOW | O_CREAT | O_TRUNC; in swap_file_open()
/freebsd-10-stable/sys/cddl/compat/opensolaris/sys/
Dvnode.h195 filemode |= O_NOFOLLOW; in vn_openat()
/freebsd-10-stable/contrib/pjdfstest/
Dpjdfstest.c261 #ifdef O_NOFOLLOW
262 { O_NOFOLLOW, "O_NOFOLLOW" },
/freebsd-10-stable/tools/regression/pjdfstest/
Dpjdfstest.c257 #ifdef O_NOFOLLOW
258 { O_NOFOLLOW, "O_NOFOLLOW" },
/freebsd-10-stable/bin/rm/
Drm.c444 if ((fd = open(file, O_WRONLY|O_NONBLOCK|O_NOFOLLOW, 0)) == -1) in rm_overwrite()
/freebsd-10-stable/sys/compat/linux/
Dlinux_file.c128 bsd_flags |= O_NOFOLLOW; in linux_common_open()
1298 if (result & O_NOFOLLOW) in fcntl_common()
1319 arg |= O_NOFOLLOW; in fcntl_common()
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Host/common/
DFile.cpp276 oflag |= O_NOFOLLOW; in Open()
/freebsd-10-stable/sys/kern/
Dkern_alq.c446 oflags = FWRITE | O_NOFOLLOW | O_CREAT; in alq_open_flags()
Dvfs_vnops.c201 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0) in vn_open_cred()
257 ((fmode & O_NOFOLLOW) ? NOFOLLOW : FOLLOW) | LOCKLEAF; in vn_open_cred()

12