Re: [PATCH v6 0/7] Count rlimits in each user namespace
From: Alexey Gladkov
Date: Mon Feb 22 2021 - 05:28:54 EST
On Sun, Feb 21, 2021 at 02:20:00PM -0800, Linus Torvalds wrote:
> On Mon, Feb 15, 2021 at 4:42 AM Alexey Gladkov <gladkov.alexey@xxxxxxxxx> wrote:
> >
> > These patches are for binding the rlimit counters to a user in user namespace.
>
> So this is now version 6, but I think the kernel test robot keeps
> complaining about them causing KASAN issues.
>
> The complaints seem to change, so I'm hoping they get fixed, but it
> does seem like every version there's a new one. Hmm?
First, KASAN found an unexpected bug in the second patch (Add a reference
to ucounts for each cred). Because I missed that creed_alloc_blank() is
used wider than I found.
Now KASAN has found problems in the RLIMIT_MEMLOCK which I believe I fixed
in v7.
--
Rgrds, legion