ANDROID: dma-buf: Add vendor hook for dmabuf stats attribute_show
When using android_rvh_dma_buf_stats_teardown to implement asynchronous
release of dmabuf sysfs stats, the dmabuf stats attribute_show needs to
first get dmabuf to prevent UAF issues caused by dmabuf release.
Add two hook points to implement get dmabuf and put dmabuf respectively.
Bug: 401424955
Change-Id: Ie522b0cede07445b4eb0cc8ec3e5c84113ce9813
Signed-off-by:
yipeng xiang <yipengxiang@honor.corp-partner.google.com>
Loading