Page MenuHomeFreeBSD

Const poison the command interface
ClosedPublic

Authored by imp on Dec 6 2018, 6:25 PM.
Tags
None
Referenced Files
F115648661: D18459.diff
Sat, Apr 26, 1:12 PM
Unknown Object (File)
Sat, Apr 26, 1:55 AM
Unknown Object (File)
Tue, Apr 15, 4:02 AM
Unknown Object (File)
Sat, Apr 12, 4:53 PM
Unknown Object (File)
Wed, Apr 9, 10:53 AM
Unknown Object (File)
Feb 8 2025, 4:12 AM
Unknown Object (File)
Jan 21 2025, 1:08 PM
Unknown Object (File)
Jan 20 2025, 1:22 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.