Posix *at system call implementations often have duplicate code for taking an FD number and path relative to the same, grabbing the vnode, and resolving that path. Sometimes the path is resolved only to the 2nd last component and the last component is extracted.
This should be factored out into a utility function.
Posix *at system call implementations often have duplicate code for taking an FD number and path relative to the same, grabbing the vnode, and resolving that path. Sometimes the path is resolved only to the 2nd last component and the last component is extracted.
This should be factored out into a utility function.