os: os.Root: use OBJ_DONT_REPARSE on Windows #73080
Labels
Implementation
Issues describing a semantics-preserving change to the Go implementation.
NeedsFix
The path to resolution is known, but the work has not been done.
OS-Windows
Performance
Windows's
NtCreateFile
takes anOBJECT_ATTRIBUTES
struct indicating the file to open. Setting theOBJ_DONT_REPARSE
flag in this struct disables following symlinks (and other forms of reparse point). We can use this to implement a fast path in the common case when the target of anos.Root
operation does not contain any reparse points.The text was updated successfully, but these errors were encountered: