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
F150994125: D23062.id66498.diff
Sun, Apr 5, 8:52 AM
Unknown Object (File)
Sat, Apr 4, 3:24 PM
Unknown Object (File)
Sat, Apr 4, 3:38 AM
Unknown Object (File)
Tue, Mar 17, 5:29 AM
Unknown Object (File)
Mar 5 2026, 5:09 PM
Unknown Object (File)
Mar 2 2026, 9:58 PM
Unknown Object (File)
Mar 1 2026, 11:21 AM
Unknown Object (File)
Feb 28 2026, 7: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

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