HomeFreeBSD

[PowerPC] Fix radix crash when passing -1 from userspace

Description

[PowerPC] Fix radix crash when passing -1 from userspace

Found by running libc tests with radix enabled.

Detect unsigned integer wrapping with a postcondition.

Note: Radix MMU is not enabled by default yet.

Sponsored by: Tag1 Consulting, Inc.

Details

Provenance
bdragonAuthored on
Parents
rS361567: Fix sosend() for the case where mbufs are passed in while doing ktls.
Branches
Unknown
Tags
Unknown