[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <978cbbac-51ad-4f0b-8cb2-7a3807e6c98d@p183>
Date: Fri, 1 Nov 2024 19:35:16 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Qingjie Xing <xqjcool@...il.com>, christophe.jaillet@...adoo.fr,
willy@...radead.org, brauner@...nel.org, viro@...iv.linux.org.uk,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] proc: Add a way to make proc files writable
On Thu, Oct 31, 2024 at 07:14:53PM -0700, Andrew Morton wrote:
> On Thu, 31 Oct 2024 18:39:20 -0700 Qingjie Xing <xqjcool@...il.com> wrote:
>
> > Provide an extra function, proc_create_single_write_data() that
> > act like its non-write version but also set a write method in
> > the proc_dir_entry struct. Alse provide a macro
> > proc_create_single_write to reduces the boilerplate code in the callers.
> >
>
> Please fully describe the reason for making this change.
>
> Also, we are reluctant to add a new interface to Linux unless we add
> new users of that interface at the same time.
Yeah, /proc outside /proc/${pid} and /proc/sys should be pretty dead.
Powered by blists - more mailing lists