Andreas, FYI, I've seen this fail to flaky O_NOATIME detection on tmpfs with relatime default: https://sourceware.org/glibc/wiki/Testing/Tests/dirent/tst-fdopendir The right answer is to rewrite the test using the FUSE framework to look for fdopendir reopening the file descriptor with different flags. -- Cheers, Carlos.