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

Function sys_fchownat

freebsd/kern/vfs_syscalls.c:2967–2976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2965};
2966#endif
2967int
2968sys_fchownat(struct thread *td, struct fchownat_args *uap)
2969{
2970
2971 if ((uap->flag & ~(AT_SYMLINK_NOFOLLOW | AT_RESOLVE_BENEATH)) != 0)
2972 return (EINVAL);
2973
2974 return (kern_fchownat(td, uap->fd, uap->path, UIO_USERSPACE, uap->uid,
2975 uap->gid, uap->flag));
2976}
2977
2978int
2979kern_fchownat(struct thread *td, int fd, const char *path,

Callers

nothing calls this directly

Calls 1

kern_fchownatFunction · 0.85

Tested by

no test coverage detected