Page MenuHomeFreeBSD

Remove gratuitous copyouts of unchanged struct mac.
ClosedPublic

Authored by brooks on Feb 23 2018, 7:44 PM.
Tags
None
Referenced Files
F171569510: D14488.id130042.diff
Fri, Sep 11, 7:51 PM
F171559935: D14488.id39656.diff
Fri, Sep 11, 6:32 PM
F171537932: D14488.id129880.diff
Fri, Sep 11, 3:50 PM
F171525537: D14488.diff
Fri, Sep 11, 2:22 PM
F171515628: D14488.id130042.diff
Fri, Sep 11, 1:27 PM
F171513578: D14488.id129880.diff
Fri, Sep 11, 1:19 PM
Unknown Object (File)
Fri, Sep 11, 4:09 AM
Unknown Object (File)
Thu, Sep 10, 7:12 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 21372
Build 20698: arc lint + arc unit