]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce funlinkat syscall that always us to check if we are removing
authoroshogbo <oshogbo@FreeBSD.org>
Sat, 6 Apr 2019 09:34:26 +0000 (09:34 +0000)
committeroshogbo <oshogbo@FreeBSD.org>
Sat, 6 Apr 2019 09:34:26 +0000 (09:34 +0000)
commit20d273b44bfbde962a17360eb1be449211af58d6
treea2167ee95d958b53b6c38b68b6965f8ae217db41
parentf5b6bd46f2d1370ca20cebd8a64dd8c1e874dea2
Introduce funlinkat syscall that always us to check if we are removing
the file associated with the given file descriptor.

Reviewed by: kib, asomers
Reviewed by: cem, jilles, brooks (they reviewed previous version)
Discussed with: pjd, and many others
Differential Revision: https://reviews.freebsd.org/D14567
15 files changed:
include/unistd.h
lib/libc/sys/Makefile.inc
lib/libc/sys/Symbol.map
lib/libc/sys/unlink.2
sys/cddl/compat/opensolaris/sys/vnode.h
sys/compat/cloudabi/cloudabi_file.c
sys/compat/freebsd32/syscalls.master
sys/compat/linux/linux_file.c
sys/kern/capabilities.conf
sys/kern/syscalls.master
sys/kern/vfs_mountroot.c
sys/kern/vfs_syscalls.c
sys/sys/fcntl.h
sys/sys/syscallsubr.h
sys/ufs/ffs/ffs_alloc.c