Files
Matt Graham f2fa37e226 kernel: NtCreateFile opens an existing directory without FILE_DIRECTORY_FILE
Win32 CreateFile on a directory needs FILE_FLAG_BACKUP_SEMANTICS, so such
opens failed with ERROR_ACCESS_DENIED. FILE_NON_DIRECTORY_FILE still refuses.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 03:45:54 +00:00
..

Opening an existing directory without FILE_DIRECTORY_FILE

Windows regression using a temporary directory only; no game assets.

cmake -S tests/kernel_open_directory -B build/open-dir -A x64
cmake --build build/open-dir --config Release --target kernel_open_directory_test
ctest --test-dir build/open-dir -C Release --output-on-failure