HomeFreeBSD

uma: Improve memory modified after free panic messages

Description

uma: Improve memory modified after free panic messages

  • Pass zone pointer to trash_ctor() and report zone name in the panic

message. It may be difficult to figyre out zone just by the item size.

  • Do not pass user arguments to internal trash calls, pass thezone.
  • Report malloc type name in the same unified panic message.
  • Report corruption offset from the beginning of the items instead of

the full pointer. It makes panic message shorter and more readable.

Details

Provenance
mavAuthored on Nov 10 2023, 12:46 AM
Parents
rG14105aae555c: nlm: Fix error messages for failed remote rpcbind contact
Branches
Unknown
Tags
Unknown