[Bug 258729] linprocfs regression: /compat/linux/proc/*/cwd wrongly points to calling process's cwd for all PIDs
Date: Sun, 26 Sep 2021 12:43:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258729 --- Comment #2 from Mateusz Guzik <mjg@FreeBSD.org> --- Oops, that's correct. The proposed patch does not work though. In order get safe access to the struct you need to use pdhold, which will first have to be exported out of kern_descrip.c That said, I'll take care of this in few days. -- You are receiving this mail because: You are the assignee for the bug.