Date: Sun, 05 Jan 2020 21:44:56 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 240992] linprocfs: /proc/[pid]/maps returns rounded file (?) size in the offset column Message-ID: <bug-240992-227-fVxrdTYmdZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-240992-227@https.bugs.freebsd.org/bugzilla/> References: <bug-240992-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=3D240992 Mark Johnston <markj@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #2 from Mark Johnston <markj@FreeBSD.org> --- Created attachment 210472 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D210472&action= =3Dedit proposed patch Indeed, this column is supposed to be the mapping offset and linprocfs is j= ust returning the object size. The attached patch should fix it. It also fixe= s a secondary bug which causes us to potentially print the previous entry's "offset" for an entry with no backing object. --=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-240992-227-fVxrdTYmdZ>