Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Dec 2021 22:53:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260174] libprocstat's i386 procstat_getfiles() fails on amd64
Message-ID:  <bug-260174-227-guCghcOLa2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260174-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260174-227@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=3D260174

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D7a9423d6f360e3758ca67fbb25d309140=
ea93670

commit 7a9423d6f360e3758ca67fbb25d309140ea93670
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-12-02 18:03:01 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-12-02 22:52:49 +0000

    procstat_getfiles_sysctl: do not require non-null ki_fd

    ki_fd is legitimately NULL when 32bit process requests process data
    from 64bit host kernel.  The field is not used by the code for sysctl
    case;  procstat_getfiles_kvm() checks ki_fd.

    PR:     260174
    Reported by:    Damjan Jovanovic <damjan.jov@gmail.com>
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week

 lib/libprocstat/libprocstat.c | 2 --
 1 file changed, 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-260174-227-guCghcOLa2>