Date: Sun, 26 Sep 2021 06:28:12 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 258729] linprocfs regression: /compat/linux/proc/*/cwd wrongly points to calling process's cwd for all PIDs Message-ID: <bug-258729-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258729 Bug ID: 258729 Summary: linprocfs regression: /compat/linux/proc/*/cwd wrongly points to calling process's cwd for all PIDs Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: damjan.jov@gmail.com /compat/linux/proc/N/cwd is supposed to be a symlink to the CWD for PID N. In FreeBSD 13, it's regressed to always being a symlink to the calling process's CWD instead. Example at https://gitlab.xfce.org/apps/xfce4-terminal/-/issues/121 The code is in sys/compat/linprocfs/linprocfs.c function linprocfs_doproccwd(). It got changed at least twice in 2020. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258729-227>
