. path is part of kernel address space, should use UIO_SYSSPACE and not UIO_USERSPACE.
Details
Details
- Reviewers
kib - Group Reviewers
manpages - Commits
- rS341809: Remove special case handling for getfhat(fd, NULL, handle).
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 21477 Build 20793: arc lint + arc unit
Event Timeline
Comment Actions
I clearly missed this in the original commit. Why do you need this special-case 'dot' behaviour ? Why cannot getfhat() behave same as openat(2) WRT NULL path ?
Comment Actions
The dot special behaviour was because our application is currently using getfhat with a NULL path. We'll fix this in the application rather than in kernel code. I've rolled back to a behaviour similar to openat, also amended the manpage.