| 2709 | } |
| 2710 | #endif |
| 2711 | int |
| 2712 | sys_chflagsat(struct thread *td, struct chflagsat_args *uap) |
| 2713 | { |
| 2714 | |
| 2715 | if ((uap->atflag & ~(AT_SYMLINK_NOFOLLOW | AT_RESOLVE_BENEATH)) != 0) |
| 2716 | return (EINVAL); |
| 2717 | |
| 2718 | return (kern_chflagsat(td, uap->fd, uap->path, UIO_USERSPACE, |
| 2719 | uap->flags, uap->atflag)); |
| 2720 | } |
| 2721 | |
| 2722 | /* |
| 2723 | * Same as chflags() but doesn't follow symlinks. |
nothing calls this directly
no test coverage detected