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, Oct 19, 8:06 AM
Unknown Object (File)
Sat, Oct 18, 7:22 PM
Unknown Object (File)
Sat, Oct 18, 7:22 PM
Unknown Object (File)
Sat, Oct 18, 7:22 PM
Unknown Object (File)
Sat, Oct 18, 8:56 AM
Unknown Object (File)
Mon, Oct 13, 1:19 PM
Unknown Object (File)
Mon, Oct 13, 1:28 AM
Unknown Object (File)
Fri, Oct 10, 8:14 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