/freebsd/contrib/pjdfstest/tests/open/ |
H A D | 16.t | 24 expect $error open ${n1} O_RDONLY,O_CREAT,O_NOFOLLOW 0644 25 expect $error open ${n1} O_RDONLY,O_NOFOLLOW 26 expect $error open ${n1} O_WRONLY,O_NOFOLLOW 27 expect $error open ${n1} O_RDWR,O_NOFOLLOW
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-misc.c | 148 # ifdef O_NOFOLLOW in utimensat() 150 oflags |= O_NOFOLLOW; in utimensat() 179 # ifdef O_NOFOLLOW in fchownat() 181 oflags |= O_NOFOLLOW; in fchownat() 210 # ifdef O_NOFOLLOW in fchmodat() 212 oflags |= O_NOFOLLOW; in fchmodat()
|
/freebsd/lib/libpam/modules/pam_xdg/ |
H A D | pam_xdg.c | 81 rt_dir_prefix = open(RUNTIME_DIR_PREFIX, O_DIRECTORY | O_NOFOLLOW); in _pam_xdg_open() 89 rt_dir_prefix = open(RUNTIME_DIR_PREFIX, O_DIRECTORY | O_NOFOLLOW); in _pam_xdg_open() 93 rt_dir = openat(rt_dir_prefix, user, O_DIRECTORY | O_NOFOLLOW); in _pam_xdg_open() 236 rt_dir_prefix = open(RUNTIME_DIR_PREFIX, O_DIRECTORY | O_NOFOLLOW); in _pam_xdg_close() 263 rt_dir = openat(rt_dir_prefix, user, O_DIRECTORY | O_NOFOLLOW); in _pam_xdg_close()
|
/freebsd/sys/sys/ |
H A D | fcntl.h | 99 #define O_NOFOLLOW 0x0100 /* don't follow symlinks */ macro 177 #define FPOSIXSHM O_NOFOLLOW
|
/freebsd/contrib/unbound/daemon/ |
H A D | unbound.c | 379 #ifdef O_NOFOLLOW in writepid() 380 | O_NOFOLLOW in writepid() 749 #ifdef O_NOFOLLOW in run_daemon() 750 | O_NOFOLLOW in run_daemon()
|
/freebsd/contrib/unbound/compat/ |
H A D | arc4random.c | 103 #ifdef O_NOFOLLOW in fallback_getentropy_urandom() 104 flags |= O_NOFOLLOW; in fallback_getentropy_urandom()
|
H A D | getentropy_osx.c | 155 #ifdef O_NOFOLLOW in getentropy_urandom() 156 flags |= O_NOFOLLOW; in getentropy_urandom()
|
H A D | getentropy_solaris.c | 183 #ifdef O_NOFOLLOW in getentropy_urandom() 184 flags |= O_NOFOLLOW; in getentropy_urandom()
|
H A D | getentropy_linux.c | 223 #ifdef O_NOFOLLOW in getentropy_urandom() 224 flags |= O_NOFOLLOW; in getentropy_urandom()
|
/freebsd/lib/libc/db/db/ |
H A D | db.c | 59 (O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \ in dbopen()
|
/freebsd/contrib/dma/ |
H A D | dma-mbox-create.c | 176 f = openat(maildirfd, user, O_RDONLY|O_CREAT|O_NOFOLLOW, 0600); in main()
|
/freebsd/contrib/capsicum-test/ |
H A D | openat.cc | 300 …EXPECT_SYSCALL_FAIL(E_TOO_MANY_LINKS, openat(dir_fd_, "symlink.samedir", O_RDONLY|O_NOFOLLOW|oflag… in CheckPolicing() 301 … EXPECT_SYSCALL_FAIL(E_TOO_MANY_LINKS, openat(dir_fd_, "symlink.down", O_RDONLY|O_NOFOLLOW|oflag)); in CheckPolicing()
|
/freebsd/usr.sbin/pmcstat/ |
H A D | pmcpl_gprof.c | 133 if ((fd = open(pathname, O_RDWR|O_NOFOLLOW|O_CREAT, in pmcstat_gmon_create_file() 210 if ((fd = open(pathname, O_RDWR | O_NOFOLLOW, 0)) < 0) in pmcstat_gmon_map_file()
|
/freebsd/usr.bin/cmp/ |
H A D | cmp.c | 113 oflag |= O_NOFOLLOW; in main()
|
/freebsd/contrib/mandoc/ |
H A D | catman.c | 133 O_WRONLY | O_NOFOLLOW | O_CREAT | O_TRUNC, in process_manpage()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | receiver.c | 320 O_WRONLY | O_APPEND | O_NOFOLLOW); in receiver_open() 334 O_WRONLY | O_CREAT | O_EXCL | O_NOFOLLOW, 0600); in receiver_open()
|
/freebsd/contrib/pf/pflogd/ |
H A D | privsep.c | 150 O_RDWR|O_CREAT|O_APPEND|O_NONBLOCK|O_NOFOLLOW, in priv_init()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_posix.c | 159 #if defined O_NOFOLLOW && !(INT_MIN <= O_NOFOLLOW && O_NOFOLLOW <= INT_MAX) 160 #undef O_NOFOLLOW 163 #ifndef O_NOFOLLOW 164 #define O_NOFOLLOW 0 macro 2365 O_BINARY | O_CLOEXEC | O_NOFOLLOW); in create_filesystem_object() 2545 openflags = O_BINARY | O_NOFOLLOW | O_RDONLY in _archive_write_disk_close() 4061 O_CLOEXEC | O_NOFOLLOW); in set_fflags_platform()
|
/freebsd/tools/tools/pciroms/ |
H A D | pciroms.c | 317 if ((fd = open(filename, O_CREAT|O_RDWR|O_TRUNC|O_NOFOLLOW, in pci_save_rom()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_dup.c | 239 ATF_REQUIRE_ERRNO(EINVAL, dup3(fd, 1, O_NOFOLLOW) == -1); in ATF_TC_BODY()
|
/freebsd/lib/libsysdecode/ |
H A D | flags.c | 316 oflags = flags & ~(O_NOFOLLOW | FRDAHEAD); in sysdecode_fcntl_fileflags() 318 if (flags & O_NOFOLLOW) { in sysdecode_fcntl_fileflags()
|
/freebsd/contrib/pjdfstest/ |
H A D | pjdfstest.c | 320 #ifdef O_NOFOLLOW 321 { O_NOFOLLOW, "O_NOFOLLOW" },
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 146 bsd_flags |= O_NOFOLLOW; in linux_common_openflags() 1345 if (result & O_NOFOLLOW) in fcntl_common() 1366 arg |= O_NOFOLLOW; in fcntl_common()
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | FileSystem.cpp | 399 open_flags |= O_NOFOLLOW; in GetOpenFlags()
|
/freebsd/contrib/lib9p/backend/ |
H A D | fs.c | 292 flags |= O_NOCTTY | O_NOFOLLOW; in fs_oflags_dotu() 366 flags |= O_NOCTTY | O_NOFOLLOW; in fs_oflags_dotl() 1327 O_DIRECTORY | O_RDONLY | O_NOFOLLOW); in fs_imkdir() 1499 O_RDONLY | O_DIRECTORY | O_NOFOLLOW); in fs_imksocket()
|