| 2837 | } |
| 2838 | #endif |
| 2839 | int |
| 2840 | sys_fchmodat(struct thread *td, struct fchmodat_args *uap) |
| 2841 | { |
| 2842 | |
| 2843 | if ((uap->flag & ~(AT_SYMLINK_NOFOLLOW | AT_RESOLVE_BENEATH)) != 0) |
| 2844 | return (EINVAL); |
| 2845 | |
| 2846 | return (kern_fchmodat(td, uap->fd, uap->path, UIO_USERSPACE, |
| 2847 | uap->mode, uap->flag)); |
| 2848 | } |
| 2849 | |
| 2850 | /* |
| 2851 | * Change mode of a file given path name (don't follow links.) |
nothing calls this directly
no test coverage detected