Page MenuHomeFreeBSD

Const poison the command interface

Authored by imp on Dec 6 2018, 6:25 PM.



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

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

imp created this revision.Dec 6 2018, 6:25 PM
imp edited the test plan for this revision. (Show Details)Dec 6 2018, 6:26 PM
imp added a reviewer: cem.
cem accepted this revision.Dec 6 2018, 10:43 PM
This revision is now accepted and ready to land.Dec 6 2018, 10:43 PM
Closed by commit rS341658: Const poison the command interface (authored by imp, committed by ). · Explain WhyDec 6 2018, 10:59 PM
This revision was automatically updated to reflect the committed changes.