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, Nov 23, 6:53 AM
Unknown Object (File)
Tue, Nov 19, 11:48 AM
Unknown Object (File)
Oct 19 2024, 11:03 AM
Unknown Object (File)
Oct 1 2024, 1:32 PM
Unknown Object (File)
Oct 1 2024, 4:36 AM
Unknown Object (File)
Sep 27 2024, 12:54 PM
Unknown Object (File)
Sep 26 2024, 5:02 PM
Unknown Object (File)
Sep 22 2024, 6:58 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.