[LTP] [PATCH 1/1] lib: Skip tst_{disable, enable}_oom_protection() for non-root
Li Wang
liwang@redhat.com
Wed Dec 22 12:29:24 CET 2021
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.
--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20211222/b9aa380d/attachment.htm>
More information about the ltp
mailing list