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)
Tue, Jun 2, 3:46 PM
Unknown Object (File)
Fri, May 29, 7:56 AM
Unknown Object (File)
Thu, May 28, 1:11 PM
Unknown Object (File)
Thu, May 28, 8:35 AM
Unknown Object (File)
Thu, May 28, 2:18 AM
Unknown Object (File)
Wed, May 27, 10:10 PM
Unknown Object (File)
Mon, May 25, 5:56 AM
Unknown Object (File)
Tue, May 19, 2:40 AM
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