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)
Sun, May 26, 3:32 AM
Unknown Object (File)
Tue, May 21, 3:32 AM
Unknown Object (File)
May 2 2024, 2:02 PM
Unknown Object (File)
Apr 30 2024, 9:07 AM
Unknown Object (File)
Apr 30 2024, 8:56 AM
Unknown Object (File)
Apr 30 2024, 8:56 AM
Unknown Object (File)
Apr 30 2024, 5:46 AM
Unknown Object (File)
Apr 24 2024, 5:57 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