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)
Sun, Jun 16, 7:06 AM
Unknown Object (File)
Sun, Jun 16, 1:39 AM
Unknown Object (File)
Sat, Jun 15, 11:29 PM
Unknown Object (File)
Sat, Jun 15, 8:24 PM
Unknown Object (File)
Sat, Jun 15, 5:56 PM
Unknown Object (File)
Thu, May 23, 4:24 AM
Unknown Object (File)
May 11 2024, 3:18 AM
Unknown Object (File)
May 9 2024, 9:32 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