O_SEARCH
((O_SEARCH ? O_SEARCH : O_PATH ? O_PATH : O_RDONLY)
#ifndef O_SEARCH
if (open_flags & O_SEARCH) {
open_flags &= ~(int)O_SEARCH;
if (oflags & O_SEARCH) {
oflags &= ~(int)O_SEARCH;
ATF_REQUIRE((dfd = open(DIR, O_RDONLY|O_SEARCH, 0)) != -1);
ATF_REQUIRE((dfd = open(DIR, O_RDONLY|O_SEARCH, 0)) != -1);
ATF_REQUIRE((dfd = open(DIR, O_RDONLY|O_SEARCH, 0)) != -1);
ATF_REQUIRE((dfd = open(DIR, O_RDONLY|O_SEARCH, 0)) != -1);
ATF_REQUIRE((dfd = open(FILE, O_CREAT|O_SEARCH, 0644)) != -1);
ATF_REQUIRE((dfd = open(DIR, O_SEARCH, 0)) != -1);
ATF_REQUIRE((dfd = open(DIR, O_SEARCH, 0)) != -1);
ATF_REQUIRE((dfd = open(DIR, O_SEARCH, 0)) != -1);
#if defined(__FreeBSD__) || (O_MASK & O_SEARCH) != 0