Re: [RESEND PATCH v6 2/2] procfs/dmabuf: Add inode number to /proc/*/fdinfo

2021-03-17 Thread Kees Cook
On Mon, Mar 08, 2021 at 05:06:41PM +, Kalesh Singh wrote: > And 'ino' field to /proc//fdinfo/ and > /proc//task//fdinfo/. > > The inode numbers can be used to uniquely identify DMA buffers > in user space and avoids a dependency on /proc//fd/* when > accounting per-process DMA buffer sizes. >

[RESEND PATCH v6 2/2] procfs/dmabuf: Add inode number to /proc/*/fdinfo

2021-03-08 Thread Kalesh Singh
And 'ino' field to /proc//fdinfo/ and /proc//task//fdinfo/. The inode numbers can be used to uniquely identify DMA buffers in user space and avoids a dependency on /proc//fd/* when accounting per-process DMA buffer sizes. Signed-off-by: Kalesh Singh Acked-by: Randy Dunlap --- Hi everyone,