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

Function kern_funlinkat_ex

freebsd/kern/vfs_syscalls.c:1809–1821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1807}
1808
1809static int
1810kern_funlinkat_ex(struct thread *td, int dfd, const char *path, int fd,
1811 int flag, enum uio_seg pathseg, ino_t oldinum)
1812{
1813
1814 if ((flag & ~AT_REMOVEDIR) != 0)
1815 return (EINVAL);
1816
1817 if ((flag & AT_REMOVEDIR) != 0)
1818 return (kern_frmdirat(td, dfd, path, fd, UIO_USERSPACE, 0));
1819
1820 return (kern_funlinkat(td, dfd, path, fd, UIO_USERSPACE, 0, 0));
1821}
1822
1823#ifndef _SYS_SYSPROTO_H_
1824struct unlinkat_args {

Callers 2

sys_unlinkatFunction · 0.85
sys_funlinkatFunction · 0.85

Calls 2

kern_frmdiratFunction · 0.85
kern_funlinkatFunction · 0.85

Tested by

no test coverage detected