]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In the unlinkat syscall, the operation is performed on the directory
authorMariusz Zaborski <oshogbo@FreeBSD.org>
Mon, 8 Apr 2019 14:23:52 +0000 (14:23 +0000)
committerMariusz Zaborski <oshogbo@FreeBSD.org>
Mon, 8 Apr 2019 14:23:52 +0000 (14:23 +0000)
commitde0b14f2db9371dfd7cf537a402e178f183145b6
treeb4a55eae115e66661e4358d2306f88acd6a0818e
parentab0280c4d092afd72b785111187bcfcf4d501284
In the unlinkat syscall, the operation is performed on the directory
descriptor, not the file descriptor. The file descriptor is used only for
verification so do not expect any additional capabilities on it.

Reported by: antoine
Tested by: antoine
Discussed with: kib, emaste, bapt
Sponsored by: Fudo Security
sys/kern/vfs_syscalls.c