Commit 9b41e79f authored by Alice Ryhl's avatar Alice Ryhl Committed by Isaac Manjarres
Browse files

ANDROID: ashmem_rust: add memfd ioctls



When libcutils is configured to create memfds instead of ashmem fds, old
applications may still attempt to call ashmem ioctls on the fd. Thus,
add an ioctl handler to shmem to support the ioctls that are necessary.

We don't need to support the ioctls on hugeltb because libcutils does
not pass MFD_HUGETLB when creating the memfd.

Bug: 370906207
Change-Id: Ib56d55db0f590ee90b83a3e2cde67413fa8e10d6
Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
parent 372903c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment