HomeFreeBSD

Use an unsigned iterator for domain sets.

Description

Use an unsigned iterator for domain sets.

Otherwise (iter % ds->ds_cnt) is not guaranteed to lie in the range
[0, MAXMEMDOM).

Reported by: pho
Reviewed by: kib
Approved by: re (rgrimes)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17374

Details

Provenance
markjAuthored on
Reviewer
kib
Differential Revision
D17374: Make domainset iterators unsigned.
Parents
rS339074: Add kernel ifunc support on arm64.
Branches
Unknown
Tags
Unknown