Page MenuHomeFreeBSD

libsysdecode vmprot should accept underscores in bit names
ClosedPublic

Authored by freebsdphab-AX9_cmx.ietfng.org on Apr 27 2021, 11:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 8:33 AM
Unknown Object (File)
Fri, Nov 15, 8:49 AM
Unknown Object (File)
Wed, Nov 13, 11:29 PM
Unknown Object (File)
Mon, Nov 11, 5:11 PM
Unknown Object (File)
Mon, Nov 11, 12:11 PM
Unknown Object (File)
Mon, Nov 11, 9:52 AM
Unknown Object (File)
Mar 22 2024, 11:11 PM
Unknown Object (File)
Mar 22 2024, 11:11 PM
Subscribers

Details

Summary

In CheriBSD, we've defined VM_PROT_WRITE_CAP, for example, and these are currently rejected by the libsysdecode mktables regex, and so are not printed by name but just left as unexplained set bits.

Test Plan

ktrace and kdump a CheriABI executable, verifying that the new flags are decoded correctly

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb added a subscriber: jhb.

I tended to use fairly conservative regexes in mktables, but this is ok with me.

This revision is now accepted and ready to land.Apr 28 2021, 3:24 PM
This revision was automatically updated to reflect the committed changes.