Page MenuHomeFreeBSD

Remove gratuitous copyouts of unchanged struct mac.
ClosedPublic

Authored by brooks on Feb 23 2018, 7:44 PM.
Tags
None
Referenced Files
F110184363: D14488.diff
Fri, Feb 14, 6:53 PM
Unknown Object (File)
Mon, Feb 3, 4:22 PM
Unknown Object (File)
Mon, Feb 3, 4:20 AM
Unknown Object (File)
Wed, Jan 29, 10:46 PM
Unknown Object (File)
Fri, Jan 24, 8:32 PM
Unknown Object (File)
Fri, Jan 24, 7:46 PM
Unknown Object (File)
Fri, Jan 24, 1:49 PM
Unknown Object (File)
Jan 10 2025, 12:00 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