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)
Tue, May 12, 5:24 PM
Unknown Object (File)
Mon, May 11, 5:34 PM
Unknown Object (File)
Thu, Apr 30, 2:42 PM
Unknown Object (File)
Thu, Apr 23, 3:53 AM
Unknown Object (File)
Apr 20 2026, 1:23 PM
Unknown Object (File)
Apr 19 2026, 3:29 PM
Unknown Object (File)
Apr 19 2026, 3:29 PM
Unknown Object (File)
Apr 16 2026, 6:37 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

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.