HomeFreeBSD

The alignment is passed into contigmalloc_domainset in the 7th argument.

Description

The alignment is passed into contigmalloc_domainset in the 7th argument.

KUBSAN was complaining the pointer contigmalloc_domainset returned was
misaligned. Fix this by using the correct argument to find the alignment
in the function signature.

Reported by: KUBSAN
MFC after: 2 weeks
Sponsored by: DARPA, AFRL

Details

Provenance
andrewAuthored on May 28 2019, 10:55 AM
Parents
rG5393cbce3db5: Teach the kernel KUBSAN runtime about alignment_assumption
Branches
Unknown
Tags
Unknown

Event Timeline