| 4313 | }; |
| 4314 | #endif |
| 4315 | int |
| 4316 | sys_getfhat(struct thread *td, struct getfhat_args *uap) |
| 4317 | { |
| 4318 | |
| 4319 | if ((uap->flags & ~(AT_SYMLINK_NOFOLLOW | AT_RESOLVE_BENEATH)) != 0) |
| 4320 | return (EINVAL); |
| 4321 | return (kern_getfhat(td, uap->flags, uap->fd, uap->path, UIO_USERSPACE, |
| 4322 | uap->fhp, UIO_USERSPACE)); |
| 4323 | } |
| 4324 | |
| 4325 | int |
| 4326 | kern_getfhat(struct thread *td, int flags, int fd, const char *path, |
nothing calls this directly
no test coverage detected