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)

Details

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