[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZEGP8fLlSDFw52F1@bombadil.infradead.org>
Date: Thu, 20 Apr 2023 12:18:09 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: Christian Brauner <brauner@...nel.org>
Cc: Hugh Dickins <hughd@...gle.com>, akpm@...ux-foundation.org,
willy@...radead.org, linux-mm@...ck.org, p.raghav@...sung.com,
da.gomez@...sung.com, a.manzanares@...sung.com, dave@...olabs.net,
yosryahmed@...gle.com, keescook@...omium.org,
patches@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] shmem: restrict noswap option to initial user namespace
On Thu, Apr 20, 2023 at 10:57:43AM +0200, Christian Brauner wrote:
> Prevent tmpfs instances mounted in an unprivileged namespaces from
> evading accounting of locked memory by using the "noswap" mount option.
>
> Cc: Luis Chamberlain <mcgrof@...nel.org>
> Reported-by: Hugh Dickins <hughd@...gle.com>
> Link: https://lore.kernel.org/lkml/79eae9fe-7818-a65c-89c6-138b55d609a@google.com
> Signed-off-by: Christian Brauner <brauner@...nel.org>
Reviewed-by: Luis Chamberlain <mcgrof@...nel.org>
Luis
Powered by blists - more mailing lists