]> git.baikalelectronics.ru Git - kernel.git/commit
staging: android: ashmem: add procfs fdinfo helper
authorZhai Zhaoxuan <kxuanobj@gmail.com>
Thu, 28 Dec 2017 13:56:06 +0000 (21:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:37:18 +0000 (16:37 +0100)
commit40d95e1c83813a8124242ddd04d2b6a8fb6c5a86
tree8ba1318a43c759e50e5da47826f408850975c1d8
parent22068fdf169227df1b48785f57eba08ef1ac587b
staging: android: ashmem: add procfs fdinfo helper

This print the inode number of backing file and the name in
/proc/pid/fdinfo/fd.
These information helps users to know which processes are sharing the same
ashmem.

Signed-off-by: Zhai Zhaoxuan <kxuanobj@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ashmem.c