(no title)
stabbles | 1 month ago
Otherwise you can open a dir and pass its fd to openat together with a relative path to a file, to reduce the kernel overhead of resolving absolute paths for each file.
stabbles | 1 month ago
Otherwise you can open a dir and pass its fd to openat together with a relative path to a file, to reduce the kernel overhead of resolving absolute paths for each file.
direwolf20|1 month ago
stabbles|1 month ago
zokier|1 month ago
stabbles|1 month ago
Notice that this avoids `lstat` calls; for symlinks you may still need to do a stat call if you want to stat the target.