Searched refs:O_SEARCH (Results 1 – 13 of 13) sorted by relevance
| /freebsd/contrib/netbsd-tests/lib/libc/c063/ |
| H A D | t_o_search.c | 56 #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 D | file_io.c | 79 #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 D | fcntl.h | 119 #define O_SEARCH O_EXEC macro 123 #define FSEARCH O_SEARCH
|
| /freebsd/contrib/libder/tests/ |
| H A D | make_corpus.c | 109 dirfd = open(seed_dir, O_SEARCH); in main()
|
| /freebsd/lib/libc/tests/gen/ |
| H A D | scandir_blocks_test.c | 97 ATF_REQUIRE((fd = open("dir", O_DIRECTORY | O_SEARCH)) >= 0); in ATF_TC_BODY()
|
| H A D | scandir_test.c | 99 ATF_REQUIRE((fd = open("dir", O_DIRECTORY | O_SEARCH)) >= 0); in ATF_TC_BODY()
|
| /freebsd/bin/cp/ |
| H A D | cp.c | 321 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 D | detect_tz_changes_test.c | 76 ATF_REQUIRE((zfd = open(zfn, O_DIRECTORY | O_SEARCH)) >= 0); in change_tz()
|
| /freebsd/contrib/tzcode/ |
| H A D | localtime.c | 327 #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 D | archive_read_disk_posix.c | 2108 #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 D | archive_write_disk_posix.c | 449 #elif defined(O_SEARCH) in la_opendirat() 450 | O_SEARCH in la_opendirat()
|
| /freebsd/contrib/libarchive/libarchive/test/ |
| H A D | test_read_disk_directory_traversals.c | 1610 #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 D | ChangeLog | 3580 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
|