Page MenuHomeFreeBSD

Const poison the command interface
ClosedPublic

Authored by imp on Dec 6 2018, 6:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 8, 4:12 AM
Unknown Object (File)
Tue, Jan 21, 1:08 PM
Unknown Object (File)
Mon, Jan 20, 1:22 AM
Unknown Object (File)
Nov 29 2024, 2:43 PM
Unknown Object (File)
Nov 28 2024, 1:26 PM
Unknown Object (File)
Nov 28 2024, 11:44 AM
Unknown Object (File)
Nov 26 2024, 9:24 AM
Unknown Object (File)
Nov 23 2024, 6:53 AM
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.