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
F96237505: D45619.diff
Tue, Sep 24, 4:28 AM
Unknown Object (File)
Thu, Sep 19, 11:08 PM
Unknown Object (File)
Sat, Sep 14, 5:06 PM
Unknown Object (File)
Thu, Sep 12, 7:55 PM
Unknown Object (File)
Sun, Sep 8, 9:23 PM
Unknown Object (File)
Sun, Sep 8, 12:35 PM
Unknown Object (File)
Sun, Sep 8, 5:59 AM
Unknown Object (File)
Sat, Sep 7, 10:29 PM

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 58228
Build 55116: arc lint + arc unit

Event Timeline