[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230125153649.a8524c34b89d6cdbb06bd5a2@linux-foundation.org>
Date: Wed, 25 Jan 2023 15:36:49 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Alexey Gladkov <legion@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, containers@...ts.linux.dev,
linux-fsdevel@...r.kernel.org,
Alexey Dobriyan <adobriyan@...il.com>,
Al Viro <viro@...iv.linux.org.uk>,
Christian Brauner <brauner@...nel.org>,
Val Cowan <vcowan@...hat.com>
Subject: Re: [RFC PATCH v1 2/6] proc: Add allowlist to control access to
procfs files
On Wed, 25 Jan 2023 16:28:49 +0100 Alexey Gladkov <legion@...nel.org> wrote:
> +config PROC_ALLOW_LIST
> + bool "/proc/allowlist support"
> + depends on PROC_FS
> + default n
> + help
> + Provides a way to restrict access to certain files in procfs. Mounting
I'd say "to restrict presence of files in procfs".
> + procfs with subset=allowlist will add the file /proc/allowlist which
> + contains a list of files and directories that should be accessed. To
s/accessed/present/
> + prevent the list from being changed, the file itself must be excluded.
Powered by blists - more mailing lists