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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240992 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=210472&action=edit proposed patch Indeed, this column is supposed to be the mapping offset and linprocfs is just returning the object size. The attached patch should fix it. It also fixes a secondary bug which causes us to potentially print the previous entry's "offset" for an entry with no backing object. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240992-227-fVxrdTYmdZ>
