Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: Use FindFirstFileW for getting the metadata of locked system files #98916

Merged
merged 5 commits into from
Jul 20, 2022

Commits on Jul 5, 2022

  1. Configuration menu
    Copy the full SHA
    13ab796 View commit details
    Browse the repository at this point in the history
  2. Windows: Use FindFirstFileW if metadata fails

    Usually opening a file handle with access set to metadata only will always succeed, even if the file is locked. However some special system files, such as `C:\hiberfil.sys`, are locked by the system in a way that denies even that. So as a fallback we try reading the cached metadata from the directory.
    ChrisDenton committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    8d4adad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d06504 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5f5bcb3 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. Ignore hiberfil_sys test in CI

    The file it's testing does not exist in the CI environment.
    ChrisDenton committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    eee8ca9 View commit details
    Browse the repository at this point in the history