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)
Mon, Sep 29, 5:04 PM
Unknown Object (File)
Thu, Sep 18, 10:45 PM
Unknown Object (File)
Wed, Sep 17, 4:30 AM
Unknown Object (File)
Wed, Sep 17, 4:28 AM
Unknown Object (File)
Sep 9 2025, 2:49 AM
Unknown Object (File)
Aug 5 2025, 10:06 AM
Unknown Object (File)
Jul 25 2025, 2:52 AM
Unknown Object (File)
Jul 24 2025, 8:23 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.