]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fd: make fget_unlocked take a thread argument
authorMateusz Guzik <mjg@FreeBSD.org>
Fri, 11 Feb 2022 12:02:02 +0000 (12:02 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Fri, 11 Feb 2022 12:29:26 +0000 (12:29 +0000)
commit513c7a6e0cd8c13f765fda6fa1b2de53c1973753
treeea720f680c2349a963a8b54cf393c92e3e9f01f9
parent45bb8beacc2fadbbc32428df0f2f5683863df289
fd: make fget_unlocked take a thread argument

Just like other fget routines. This enables embedding fd table pointer
in struct thread, avoiding taking a trip through proc.
sys/compat/linux/linux.c
sys/compat/linuxkpi/common/include/linux/file.h
sys/kern/kern_descrip.c
sys/kern/sys_generic.c
sys/kern/vfs_syscalls.c
sys/sys/filedesc.h