Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 911916c5 authored by Liam Mark's avatar Liam Mark
Browse files

Revert "ashmem: switch to ->read_iter"



This reverts commit 8a2af064 ("ashmem: switch to ->read_iter")

This change resulted in ashmem file descriptors now getting labeled as
system_server_tmpfs instead of ashmem_device.

SELinux is rejecting access to file descriptors labeled as
system_server_tmpfs and this is causing the battery settings app to crash.

It does not look feasible to get SELinux to accept system_server_tmpfs
labeled file descriptors as it is used too broadly.
So for now revert this change until we can find a clean way to fix this.

Change-Id: I5710c37f1204a296736b0e22bdaf12fe292d9c62
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent 3fd2e0f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment