microsoft / microsoft/VFSForGit
Mac: Fallback to using file path in HandleFileOpOperation if the vnode lookup fails
Open
@pmj is already working on this.
Since Aug 7, 2019.
affects: correctness
affects: reliability
domain: kext
platform: macOS
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 474
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 8
Description
HandleFileOpOperation will not deliver rename KAUTH_FILEOP_RENAME or KAUTH_FILEOP_LINK related notifications if vnode_lookup fails.
Rather than immediately giving up, we should see if we can find the root via the file's path.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.