[LTP] [PATCH 1/1] lib: Skip tst_{disable, enable}_oom_protection() for non-root

Li Wang liwang@redhat.com
Wed Dec 22 12:32:37 CET 2021


On Wed, Dec 22, 2021 at 7:29 PM Li Wang <liwang@redhat.com> wrote:

>
>
> On Wed, Dec 22, 2021 at 6:48 PM Petr Vorel <pvorel@suse.cz> wrote:
>
> > > I've sent v2, which checks CAP_SYS_ADMIN and CAP_SYS_RESOURCE,
>> > > but feel free just to bring simpler solution.
>>
>> > I still think that the most acurate test would be just writing to the
>> > file and checking the result.
>> OK. Anybody taking this (so that not more people working on it)?
>
>
> I'm considering using both of the two methods.
>

Or now just go with Petr's patch to get rid of the fails before
Christmas vacation:).

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20211222/b676f360/attachment.htm>


More information about the ltp mailing list