Feb. 16, 2024
9:20 p.m.
Maybe, but that's very much a "what if". It also makes more sense than trying to dereference the symlink exactly once.
`/proc/.../fd/...` points to the final resolved pathname (unless `O_PATH|O_NOFOLLOW` is specified), so it should be the same as realpath (recursively follow link) in most cases. I don't see a problem here. Again, I'm not here to speculate. Let's just wait for the other thread, shall we? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5083#note_61573