[LTP] [PATCH v2] mseal02: Handle multiple errnos for 32-bit compat mode
Petr Vorel
pvorel@suse.cz
Fri Mar 20 16:09:45 CET 2026
Hi all,
> In 32-bit compat mode, the overflow_size (calculated using a 32-bit ULONG_MAX)
> does not cause a 64-bit integer wrap-around when added to the start address.
> Consequently, the kernel see valid range that points to unmapped space, returning
> ENOMEM instead of the expected EINVAL.
Also LGTM.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
More information about the ltp
mailing list