[LTP] [PATCH] Added test for mmap() with MAP_SHARED_VALIDATE.

Li Wang liwang@redhat.com
Tue Mar 28 05:14:12 CEST 2023


Hi Paulson, Petr,

Paulson Raja L <lpaulsonraja@gmail.com> wrote:

> Hi Petr Vorel,
>   Thanks for the comments, I have just started contributing to LTP, and
> this is my first patch. I agree to merge it as is.

Good to see a new case for MAP_SHARED_VALIDATE.

As this is the first test to cover the new flags argument, so I'm
wondering can we add the functional verification to check if
this works correctly for mapping a valid shared memory which
equal to the behavior of MAP_SHARED?
(or do this in a separate patch)

But anyway, I'd suggest you send a patch V2 for achieving all
requested changes.

-- 
Regards,
Li Wang



More information about the ltp mailing list