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

Commit 65b5858a authored by Todd Frederick's avatar Todd Frederick
Browse files

storaged: Fix SELinux denial with debugfs_mmc

Clean up init script control file usage that was removed years ago as
part of b/36228467, which resolves an SELinux denial:

avc: denied { read } for comm="storaged" path="/sys/kernel/debug/mmc0/mmc0:0001/ext_csd" dev="debugfs" ino=16785 scontext=u:r:storaged:s0 tcontext=u:object_r:debugfs_mmc:s0 tclass=file permissive=0

Also fix include ordering.

Bug: 279649316
Test: Check for denial on boot
Flag: EXEMPT bugfix
Change-Id: Idb78fb67c929c6875497a8b768326b65a47c7dfc
parent 8aa1774b
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