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

Function sys_lchown

freebsd/kern/vfs_syscalls.c:3008–3014  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3006};
3007#endif
3008int
3009sys_lchown(struct thread *td, struct lchown_args *uap)
3010{
3011
3012 return (kern_fchownat(td, AT_FDCWD, uap->path, UIO_USERSPACE,
3013 uap->uid, uap->gid, AT_SYMLINK_NOFOLLOW));
3014}
3015
3016/*
3017 * Set ownership given a file descriptor.

Callers

nothing calls this directly

Calls 1

kern_fchownatFunction · 0.85

Tested by

no test coverage detected