HomeFreeBSD

vm_extern: use standard address checkers everywhere

Description

vm_extern: use standard address checkers everywhere

Define simple functions for alignment and boundary checks and use them
everywhere instead of having slightly different implementations
scattered about. Define them in vm_extern.h and use them where
possible where vm_extern.h is included.

Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D33685

(cherry picked from commit c606ab59e7f9423f7027320e9a4514c7db39658d)

Details

Provenance
dougmAuthored on Dec 31 2021, 4:09 AM
Reviewer
kib
Differential Revision
D33685: Define and use standard functions for alignment checking
Parents
rGb70b138611c1: ftp: Use /var/spool/ftp as ftp's home consistently
Branches
Unknown
Tags
Unknown