[Bug 240992] linprocfs: /proc/[pid]/maps returns rounded file (?) size in the offset column
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 5 21:44:56 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240992
Mark Johnston <markj at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markj at FreeBSD.org
--- Comment #2 from Mark Johnston <markj at 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.
More information about the freebsd-bugs
mailing list