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)
Sat, May 24, 3:56 AM
Unknown Object (File)
Tue, May 13, 6:55 AM
Unknown Object (File)
Mon, May 12, 10:06 PM
Unknown Object (File)
Apr 22 2025, 11:07 PM
Unknown Object (File)
Apr 22 2025, 11:38 AM
Unknown Object (File)
Apr 21 2025, 11:06 AM
Unknown Object (File)
Feb 16 2025, 8:26 PM
Unknown Object (File)
Jan 6 2025, 2:51 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

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