HomeFreeBSD

linprocfs: find cwd and root handling

Description

linprocfs: find cwd and root handling

The code would incorrectly use curthread instead of the target proc to
resolve vnodes.

Fixes: 8d03b99b9dafe928 ("fd: move vnodes out of filedesc into a dedicated structure")
PR: 258729
Noted by: Damjan Jovanovic <damjan.jov@gmail.com>

Details

Provenance
mjgAuthored on Sep 30 2021, 10:50 AM
Parents
rG85c855d31b18: fd: add pwd_hold_proc
Branches
Unknown
Tags
Unknown