Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2021 11:01:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@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-4077-fFC4j04AAS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258729-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258729-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258729

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D69ab52838655912cf89699e0b2d21d244=
d3b9b27

commit 69ab52838655912cf89699e0b2d21d244d3b9b27
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-09-30 10:50:18 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-09-30 10:59:58 +0000

    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 dedic=
ated
structure")
    PR:     258729
    Noted by:        Damjan Jovanovic <damjan.jov@gmail.com>

 sys/compat/linprocfs/linprocfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258729-4077-fFC4j04AAS>