Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor out pathname/fd resolution in Posix *at syscalls #5

Open
netbsduser opened this issue May 4, 2023 · 1 comment
Open

Factor out pathname/fd resolution in Posix *at syscalls #5

netbsduser opened this issue May 4, 2023 · 1 comment

Comments

@netbsduser
Copy link

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.

@netbsduser
Copy link
Author

Abstraction introduced in bda9891 and awaits use everywhere.

@netbsduser netbsduser transferred this issue from Keyronex/Keyronex Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant