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)
Fri, Mar 22, 11:11 PM
Unknown Object (File)
Fri, Mar 22, 11:11 PM
Unknown Object (File)
Fri, Mar 22, 11:11 PM
Unknown Object (File)
Mar 9 2024, 2:35 PM
Unknown Object (File)
Mar 7 2024, 6:51 PM
Unknown Object (File)
Feb 9 2024, 9:36 AM
Unknown Object (File)
Jan 7 2024, 1:47 PM
Unknown Object (File)
Jan 7 2024, 1:22 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.