Page MenuHomeFreeBSD

net80211: separate out the net80211 ioctl key size from the kernel definition
Needs ReviewPublic

Authored by adrian on Jun 16 2024, 11:30 PM.
Referenced Files
F102432717: D45619.diff
Tue, Nov 12, 5:05 AM
Unknown Object (File)
Fri, Oct 18, 4:52 PM
Unknown Object (File)
Fri, Oct 18, 4:52 PM
Unknown Object (File)
Fri, Oct 18, 4:52 PM
Unknown Object (File)
Fri, Oct 18, 4:52 PM
Unknown Object (File)
Fri, Oct 18, 4:52 PM
Unknown Object (File)
Fri, Oct 18, 3:44 PM
Unknown Object (File)
Oct 3 2024, 5:17 AM

Details

Reviewers
None
Group Reviewers
wireless
Summary

This WIP just redefines the struct ieee80211req_key used in key get/set
ioctl calls to a separate set of values. The eventual goal is to fully
separate out the ioctl API from the internal key definition sizes so
things like 256 / 384 bit key infrastructure can be included without
needing to also break the default userland ABI.

Note this diff is a WIP - I haven't yet updated the ioctl key get and
set functions themselves to take the copy sizes into account when
copying the key and MIC contents. I will also need to ensure any
unused buffer contents are bzero'ed out rather than copied and leaked.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58204
Build 55092: arc lint + arc unit

Event Timeline