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

Function sys_fchmodat

freebsd/kern/vfs_syscalls.c:2839–2848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2837}
2838#endif
2839int
2840sys_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.)

Callers

nothing calls this directly

Calls 1

kern_fchmodatFunction · 0.85

Tested by

no test coverage detected