-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
FreeBSD 13.1 introduced an F_KINFO
fcntl command, which looks up a file descriptor's path. It's exactly what cap-primitives/rustix/fs/file_path needs. It's much more efficient than file_path_by_searching, and isn't vulnerable to the #330 bug. However, it can fail in certain circumstances, so file_path_by_searching should still be used as a fallback.
sunfishcode
Metadata
Metadata
Assignees
Labels
No labels