| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 6 days | fusefrontend: openWriteOnlyFile: reopen the same file, not just the same name | Jakob Unterwurzacher | |
| openWriteOnlyFile chmods the file via woFd and then reopens it by name. O_NOFOLLOW prevents following symlinks, but cName could still have been replaced by a different regular file in between, and we would return an fd to that file. Add syscallcompat.ReopenFd(): * Linux: open /proc/self/fd/N, which always resolves to the file woFd refers to. * Other platforms: reopen by name and compare dev/ino against woFd, returning EAGAIN on mismatch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> | |||
