diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-09-29 18:56:22 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-09-29 18:56:22 +0000 |
| commit | f15642e24db7d16c63ce484924d9075926dbf58a (patch) | |
| tree | 59be4557417e4602069b382b27d3d816c15508e2 /sys/dev/usb/controller/generic_usb_if.m | |
| parent | 10729d0ce11c9ac5077d158bb372f9c39053f168 (diff) | |
I suspect this overflow check isn't needed at all, at least today, since
vm_map_insert() will detect wraparound when it creates segments (and
even a check against UINT_MAX is too loose, since the max user address
is AOUT32_USRSTACK == 0xbfc00000). But if we're going to keep this
check, there doesn't seem to be any downside to applying it on all
platforms, before exec_new_vmspace() tears down the current vmspace.
Reported by: Muhammed Sariyildiz <asiyee994@gmail.com>
Reviewed by: kib
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60027
Diffstat (limited to 'sys/dev/usb/controller/generic_usb_if.m')
0 files changed, 0 insertions, 0 deletions
