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)
Tue, Apr 22, 11:07 PM
Unknown Object (File)
Tue, Apr 22, 11:38 AM
Unknown Object (File)
Mon, Apr 21, 11:06 AM
Unknown Object (File)
Feb 16 2025, 8:26 PM
Unknown Object (File)
Jan 6 2025, 2:51 PM
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
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