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)
Oct 23 2024, 4:59 AM
Unknown Object (File)
Oct 7 2024, 8:07 PM
Unknown Object (File)
Oct 2 2024, 9:54 AM
Unknown Object (File)
Sep 4 2024, 5:38 PM
Unknown Object (File)
Sep 3 2024, 5:41 AM
Unknown Object (File)
Aug 12 2024, 8:57 AM
Unknown Object (File)
Aug 7 2024, 6:38 AM
Unknown Object (File)
Jul 30 2024, 8:48 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28512
Build 26567: arc lint + arc unit