MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sys_getfhat

Function sys_getfhat

freebsd/kern/vfs_syscalls.c:4315–4323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4313};
4314#endif
4315int
4316sys_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
4325int
4326kern_getfhat(struct thread *td, int flags, int fd, const char *path,

Callers

nothing calls this directly

Calls 1

kern_getfhatFunction · 0.85

Tested by

no test coverage detected