HomeFreeBSD

munmap.2: Remove EINVAL for negative len

Description

munmap.2: Remove EINVAL for negative len

len is unsigned (it is size_t), so cannot be negative.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit fab411c4fd5224e3dd44e0eb288d60b27480e2d1)
(cherry picked from commit e2cbfa1f5045019d34eb0091db7755c151ea06d5)

Details

Provenance
emasteAuthored on Jan 15 2025, 9:44 PM
Parents
rGa52b922c05a4: munmap.2: Unaligned addresses do not return error
Branches
Unknown
Tags
Unknown