Page MenuHomeFreeBSD

Remove gratuitous copyouts of unchanged struct mac.
ClosedPublic

Authored by brooks on Feb 23 2018, 7:44 PM.
Tags
None
Referenced Files
F83393930: D14488.id39656.diff
Thu, May 9, 9:32 PM
Unknown Object (File)
Thu, May 2, 10:18 AM
Unknown Object (File)
Thu, May 2, 10:18 AM
Unknown Object (File)
Thu, May 2, 10:17 AM
Unknown Object (File)
Sat, Apr 27, 6:22 AM
Unknown Object (File)
Sat, Apr 27, 6:22 AM
Unknown Object (File)
Fri, Apr 26, 6:18 AM
Unknown Object (File)
Mar 31 2024, 7:02 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable