Re: [LTP] [PATCH v1] shmctl03: Fix 32-bit compat mode failure by forcing limits

Wei Gao via ltp
2026-04-10T14:12:27Z

On Fri, Apr 10, 2026 at 01:14:41PM +0000, Andrea Cervesato via ltp wrote:
> Hi Wei,
>
> this review is pretty accurate. Please follow the suggestions here first:
> https://github.com/acerv/ltp-agent/actions/runs/24074831444

I will update the subject line and use INT_MAX/UINT_MAX as AI suggested.
But I'd prefer to keep TST_ASSERT_SATURATED_ULONG even without a current caller,
as it completes the logic for the helper function. The logic is clear enough
that an extra comment isn't needed also, if you are agree then i will sent next patch.

Thanks.

>
> King regards,
> --
> Andrea Cervesato
> SUSE QE Automation Engineer Linux
> andrea.cervesato@suse.com
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp