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)
Thu, Apr 18, 5:53 AM
Unknown Object (File)
Mon, Mar 25, 10:07 PM
Unknown Object (File)
Dec 23 2023, 12:37 AM
Unknown Object (File)
Nov 30 2023, 7:01 AM
Unknown Object (File)
Nov 6 2023, 7:12 PM
Unknown Object (File)
Jul 23 2023, 1:49 AM
Unknown Object (File)
Jul 14 2023, 1:42 PM
Unknown Object (File)
Jul 3 2023, 3:47 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.