Page MenuHomeFreeBSD

Const poison the command interface
ClosedPublic

Authored by imp on Dec 6 2018, 6:25 PM.
Tags
None
Referenced Files
F166861964: D18459.id51675.diff
Mon, Aug 17, 6:11 AM
Unknown Object (File)
Sat, Aug 15, 2:15 PM
Unknown Object (File)
Sun, Jul 26, 8:20 AM
Unknown Object (File)
Sat, Jul 25, 2:38 PM
Unknown Object (File)
Thu, Jul 23, 4:55 AM
Unknown Object (File)
Thu, Jul 23, 12:42 AM
Unknown Object (File)
Tue, Jul 21, 10:25 PM
Unknown Object (File)
Sat, Jul 18, 3:02 PM
Subscribers
None

Details

Summary

Make the pointers we pass into the commands const, also make the
linker set mirrors const.

Suggested by: cem@
Sponsored by: Netflix

Test Plan

made a separate commit because it seemed needlessly churny to include it in the other one.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21404
Build 20728: arc lint + arc unit

Event Timeline

imp added a reviewer: cem.
This revision is now accepted and ready to land.Dec 6 2018, 10:43 PM
This revision was automatically updated to reflect the committed changes.