Page MenuHomeFreeBSD

Fix some issues in the linprocfs maps file.
ClosedPublic

Authored by markj on Jan 6 2020, 10:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 15 2024, 12:03 PM
Unknown Object (File)
Dec 20 2023, 3:31 AM
Unknown Object (File)
Nov 15 2023, 5:43 PM
Unknown Object (File)
Sep 21 2023, 8:51 PM
Unknown Object (File)
Sep 12 2023, 5:02 AM
Unknown Object (File)
Sep 10 2023, 2:13 PM
Unknown Object (File)
Sep 5 2023, 9:45 PM
Unknown Object (File)
Sep 5 2023, 9:43 PM
Subscribers

Details

Summary
  • Export the offset into the backing object, not the object size.
  • Fix a bug where we would print the previous entry's "offset" when a map_entry has no object.
  • Try to identify shared mappings. Linux prints "s" when the mapping "may be shared". This attempt is not perfect, for example, we print "p" for anonymous memory that may be shared via minherit(INHERIT_SHARE).

PR: 240992

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable