| 2965 | }; |
| 2966 | #endif |
| 2967 | int |
| 2968 | sys_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 | |
| 2978 | int |
| 2979 | kern_fchownat(struct thread *td, int fd, const char *path, |
nothing calls this directly
no test coverage detected