ANDROID: Add ashmem ioctl to return a unique file identifier 33/310533/1
authorMark Fasheh <mfasheh@google.com>
Thu, 27 Oct 2022 23:48:03 +0000 (23:48 +0000)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 30 Apr 2024 08:34:20 +0000 (17:34 +0900)
commit8e5f02e4b056457959a7bc0738eb275c35ffab72
tree7ad7667b43e8628a293466bd65675fb3758038b9
parent5b16640c7b3bd1bc8c2ef640a0a59f61ef0f3815
ANDROID: Add ashmem ioctl to return a unique file identifier

This will allow a client program to avoid redundant actions on ashmem
buffers which it has already seen.

Bug: 244233389
Signed-off-by: Mark Fasheh <mfasheh@google.com>
[sw0312.kim: cherry-pick commit fb15c7c8b023 of https://android.googlesource.com/kernel/common/+/refs/heads/android15-6.6 to support waydroid on tizen]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ica57a8842ff163eae5f9eca8141b439091ec0940
drivers/staging/android/ashmem.c
drivers/staging/android/uapi/ashmem.h