Home
last modified time | relevance | path

Searched refs:O_SEARCH (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libc/c063/
H A Dt_o_search.c56 #if defined(__FreeBSD__) || (O_MASK & O_SEARCH) != 0
115 ATF_REQUIRE((dfd = open(DIR, O_RDONLY|O_SEARCH, 0)) != -1); in ATF_TC_BODY()
147 ATF_REQUIRE((dfd = open(DIR, O_RDONLY|O_SEARCH, 0)) != -1); in ATF_TC_BODY()
209 ATF_REQUIRE((dfd = open(DIR, O_RDONLY|O_SEARCH, 0)) != -1); in ATF_TC_BODY()
239 ATF_REQUIRE((dfd = open(DIR, O_RDONLY|O_SEARCH, 0)) != -1); in ATF_TC_BODY()
268 ATF_REQUIRE((dfd = open(FILE, O_CREAT|O_SEARCH, 0644)) != -1); in ATF_TC_BODY()
290 ATF_REQUIRE((dfd = open(DIR, O_SEARCH, 0)) != -1); in ATF_TC_BODY()
308 ATF_REQUIRE((dfd = open(DIR, O_SEARCH, 0)) != -1); in ATF_TC_BODY()
329 ATF_REQUIRE((dfd = open(DIR, O_SEARCH, 0)) != -1); in ATF_TC_BODY()
/freebsd/contrib/xz/src/xz/
H A Dfile_io.c79 #if defined(O_SEARCH) && defined(O_PATH) && O_SEARCH == O_PATH
80 # undef O_SEARCH
83 #ifndef O_SEARCH
84 # define O_SEARCH O_RDONLY macro
906 pair->dir_fd = open(dir_name, O_SEARCH | O_DIRECTORY in io_open_dest_real()
/freebsd/sys/sys/
H A Dfcntl.h119 #define O_SEARCH O_EXEC macro
123 #define FSEARCH O_SEARCH
/freebsd/contrib/libder/tests/
H A Dmake_corpus.c109 dirfd = open(seed_dir, O_SEARCH); in main()
/freebsd/lib/libc/tests/gen/
H A Dscandir_blocks_test.c97 ATF_REQUIRE((fd = open("dir", O_DIRECTORY | O_SEARCH)) >= 0); in ATF_TC_BODY()
H A Dscandir_test.c99 ATF_REQUIRE((fd = open("dir", O_DIRECTORY | O_SEARCH)) >= 0); in ATF_TC_BODY()
/freebsd/bin/cp/
H A Dcp.c321 to.dir = open(to.base, O_DIRECTORY | O_SEARCH); in copy()
404 to.dir = open(to.base, O_DIRECTORY | O_SEARCH); in copy()
/freebsd/lib/libc/tests/stdtime/
H A Ddetect_tz_changes_test.c76 ATF_REQUIRE((zfd = open(zfn, O_DIRECTORY | O_SEARCH)) >= 0); in change_tz()
/freebsd/contrib/tzcode/
H A Dlocaltime.c327 #ifndef O_SEARCH
328 # define O_SEARCH 0 macro
980 ((O_SEARCH ? O_SEARCH : O_PATH ? O_PATH : O_RDONLY) in tzloadbody()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_disk_posix.c2108 #elif defined(O_SEARCH) in tree_reopen()
2110 const int o_flag = O_SEARCH; in tree_reopen()
2137 #if defined(O_PATH) || defined(O_SEARCH) || \ in tree_reopen()
H A Darchive_write_disk_posix.c449 #elif defined(O_SEARCH) in la_opendirat()
450 | O_SEARCH in la_opendirat()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_read_disk_directory_traversals.c1610 #if defined(O_PATH) || defined(O_SEARCH) || \ in test_parent()
1790 #if defined(O_PATH) || defined(O_SEARCH) || \ in test_parent()
/freebsd/contrib/xz/
H A DChangeLog3580 xz: Workaround broken O_SEARCH in musl
3582 Testing with musl 1.2.5 and Linux 6.12, O_SEARCH doesn't result
3599 Revert "xz: O_SEARCH cannot be used for fsync()"
3603 POSIX-conforming O_SEARCH should allow fsync().
3612 xz: O_SEARCH cannot be used for fsync()
3614 Opening a directory with O_SEARCH results in a file descriptor that can
3618 In musl, O_SEARCH becomes Linux-specific O_PATH. A file descriptor
3695 - On systems that lack O_SEARCH (like Linux), "xz dir/file" will now