-
Notifications
You must be signed in to change notification settings - Fork 1.2k
FreeBSD ktls fixes #4552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD ktls fixes #4552
Conversation
This lgtm, @asomers could you also review? |
Check with @kostikbel . I think he may have chosen "gennum" instead of "gen" for a good reason. |
I'd be interested in hearing the reason (and preferably having it documented in |
Because gen is the reserved keyword in rust since 2024 edition? |
For the upstream definition, see: freebsd/freebsd-src@c9e9a0f
<sys/ktls.h> is necessary in order to find the xktls_* structs. See also: freebsd/freebsd-src@c9e9a0f
For the upstream definition, see: freebsd/freebsd-src@c9e9a0f (backport <rust-lang#4552>) (cherry picked from commit 985d95b)
(backport <rust-lang#4552>) (cherry picked from commit 99e3373)
(backport <rust-lang#4552>) (cherry picked from commit 56a04ab)
<sys/ktls.h> is necessary in order to find the xktls_* structs. See also: freebsd/freebsd-src@c9e9a0f (backport <rust-lang#4552>) (cherry picked from commit 4147a8b)
Upstream commit: freebsd/freebsd-src@7212b37 (backport <rust-lang#4552>) (cherry picked from commit e2404b4)
For the upstream definition, see: freebsd/freebsd-src@c9e9a0f (backport <rust-lang#4552>) (cherry picked from commit 985d95b)
(backport <rust-lang#4552>) (cherry picked from commit 99e3373)
(backport <rust-lang#4552>) (cherry picked from commit 56a04ab)
<sys/ktls.h> is necessary in order to find the xktls_* structs. See also: freebsd/freebsd-src@c9e9a0f (backport <rust-lang#4552>) (cherry picked from commit 4147a8b)
Upstream commit: freebsd/freebsd-src@7212b37 (backport <rust-lang#4552>) (cherry picked from commit e2404b4)
For the upstream definition, see: freebsd/freebsd-src@c9e9a0f (backport <#4552>) (cherry picked from commit 985d95b)
<sys/ktls.h> is necessary in order to find the xktls_* structs. See also: freebsd/freebsd-src@c9e9a0f (backport <#4552>) (cherry picked from commit 4147a8b)
Upstream commit: freebsd/freebsd-src@7212b37 (backport <#4552>) (cherry picked from commit e2404b4)
Description
This PR fixes two minor incompatibilities that I found by running
libc-test
on FreeBSD 15-CURRENT on ppc64 (big endian).Sources
freebsd/freebsd-src@c9e9a0f
Checklist
Relevant tests in(no symbols changed)libc-test/semver
have been updated*LAST
or*MAX
areincluded (see #3131)
cd libc-test && cargo test --target mytarget
);especially relevant for platforms that may not be checked in CI