[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202103172254.478DE154@keescook>
Date: Wed, 17 Mar 2021 22:54:34 -0700
From: Kees Cook <keescook@...omium.org>
To: Kalesh Singh <kaleshsingh@...gle.com>
Cc: jannh@...gle.com, jeffv@...gle.com, surenb@...gle.com,
minchan@...nel.org, hridya@...gle.com, rdunlap@...radead.org,
christian.koenig@....com, willy@...radead.org,
viro@...iv.linux.org.uk, kernel-team@...roid.com,
Alexey Dobriyan <adobriyan@...il.com>,
Jonathan Corbet <corbet@....net>,
Andrew Morton <akpm@...ux-foundation.org>,
Michal Hocko <mhocko@...e.com>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Alexey Gladkov <gladkov.alexey@...il.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Christian Brauner <christian.brauner@...ntu.com>,
Michel Lespinasse <walken@...gle.com>,
Bernd Edlinger <bernd.edlinger@...mail.de>,
Andrei Vagin <avagin@...il.com>, Helge Deller <deller@....de>,
James Morris <jamorris@...ux.microsoft.com>,
Serge Hallyn <serge@...lyn.com>, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [RESEND PATCH v6 2/2] procfs/dmabuf: Add inode number to
/proc/*/fdinfo
On Mon, Mar 08, 2021 at 05:06:41PM +0000, Kalesh Singh wrote:
> And 'ino' field to /proc/<pid>/fdinfo/<FD> and
> /proc/<pid>/task/<tid>/fdinfo/<FD>.
>
> The inode numbers can be used to uniquely identify DMA buffers
> in user space and avoids a dependency on /proc/<pid>/fd/* when
> accounting per-process DMA buffer sizes.
>
> Signed-off-by: Kalesh Singh <kaleshsingh@...gle.com>
Reviewed-by: Kees Cook <keescook@...omium.org>
--
Kees Cook
Powered by blists - more mailing lists