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

Function sys_chflagsat

freebsd/kern/vfs_syscalls.c:2711–2720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2709}
2710#endif
2711int
2712sys_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.

Callers

nothing calls this directly

Calls 1

kern_chflagsatFunction · 0.85

Tested by

no test coverage detected