Page MenuHomeFreeBSD

MAC/do: Ease input/output of ID types
ClosedPublic

Authored by olce on Nov 15 2024, 5:08 PM.
Tags
None
Referenced Files
F161391063: D47615.diff
Fri, Jul 3, 8:57 AM
Unknown Object (File)
Fri, Jun 5, 12:16 AM
Unknown Object (File)
May 24 2026, 11:32 PM
Unknown Object (File)
May 18 2026, 9:45 PM
Unknown Object (File)
May 13 2026, 1:16 PM
Unknown Object (File)
May 13 2026, 1:16 PM
Unknown Object (File)
May 13 2026, 11:19 AM
Unknown Object (File)
May 12 2026, 5:40 AM

Details

Summary

This revision is part of a series. Click on the Stack tab below to see the context.
This series has also been squeezed into D47633 to provide an overall view.

Commit message:
Have a static constant array mapping numerical ID types to their
canonical representations ('id_type_to_str').

New parse_id_type() that parses a type thanks to 'id_type_to_str' and
with a special case to accept also 'any'.

Have parse_rule_element() use parse_id_type(). A later commit will add
a second call to the latter for the destination ID.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60606
Build 57490: arc lint + arc unit

Event Timeline

olce requested review of this revision.Nov 15 2024, 5:08 PM
This revision is now accepted and ready to land.Nov 19 2024, 8:07 AM
This revision was automatically updated to reflect the committed changes.