Open zhuowei opened 8 years ago
Since the MultiROM trampoline doesn't initialize SELinux, the screenshots are unlabeled for SELinux and can't be viewed in Android when SELinux is enforcing:
shell@angler:/sdcard/Pictures/Screenshots $ ls -l lstat './mrom_screenshot_000.png' failed: Permission denied lstat './mrom_screenshot_001.png' failed: Permission denied shell@angler:/sdcard/Pictures/Screenshots $
[ 1605.329235] type=1400 audit(1455248107.739:151): avc: denied { getattr } for pid=6939 comm="sdcard" path="/data/media/0/Pictures/Screenshots/mrom_screenshot_000.png" dev="dm-2" ino=695940 scontext=u:r:sdcardd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
Since the MultiROM trampoline doesn't initialize SELinux, the screenshots are unlabeled for SELinux and can't be viewed in Android when SELinux is enforcing:
[ 1605.329235] type=1400 audit(1455248107.739:151): avc: denied { getattr } for pid=6939 comm="sdcard" path="/data/media/0/Pictures/Screenshots/mrom_screenshot_000.png" dev="dm-2" ino=695940 scontext=u:r:sdcardd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0