Page MenuHomeFreeBSD

Remove gratuitous copyouts of unchanged struct mac.
ClosedPublic

Authored by brooks on Feb 23 2018, 7:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 22 2024, 3:37 AM
Unknown Object (File)
Nov 16 2024, 12:41 PM
Unknown Object (File)
Nov 8 2024, 2:33 AM
Unknown Object (File)
Nov 5 2024, 11:47 PM
Unknown Object (File)
Nov 5 2024, 11:47 PM
Unknown Object (File)
Nov 5 2024, 11:47 PM
Unknown Object (File)
Nov 5 2024, 11:46 PM
Unknown Object (File)
Nov 5 2024, 11:46 PM
Subscribers

Details

Summary

The get operations change the data pointed to by the structure, but do
not update the contents of the struct.

Mark mac_[gs]etsockopt_*label() const to prevent this from changing in
the future.

Also const poison mac_check_structmac_consistent().

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15230
Build 15297: arc lint + arc unit