fb08872a40
Allow SurfaceFlinger to call into IComposer, and vice versa for IComposerCallback. Specifically, hwbinder_use(...) for avc: denied { call } for scontext=u:r:hal_graphics_composer:s0 tcontext=u:r:hwservicemanager:s0 tclass=binder permissive=1 avc: denied { transfer } for scontext=u:r:hal_graphics_composer:s0 tcontext=u:r:hwservicemanager:s0 tclass=binder permissive=1 binder_call(..., surfaceflinger) for avc: denied { call } for scontext=u:r:hal_graphics_composer:s0 tcontext=u:r:surfaceflinger:s0 tclass=binder permissive=1 allow ... gpu_device:chr_file rw_file_perms for avc: denied { read write } for name="kgsl-3d0" dev="tmpfs" ino=14956 scontext=u:r:hal_graphics_composer:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=1 avc: denied { open } for path="/dev/kgsl-3d0" dev="tmpfs" ino=14956 scontext=u:r:hal_graphics_composer:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=1 avc: denied { ioctl } for path="/dev/kgsl-3d0" dev="tmpfs" ino=14956 ioctlcmd=940 scontext=u:r:hal_graphics_composer:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=1 allow ... ion_device:chr_file r_file_perms for avc: denied { ioctl } for path="/dev/ion" dev="tmpfs" ino=15014 ioctlcmd=4900 scontext=u:r:hal_graphics_composer:s0 tcontext=u:object_r:ion_device:s0 tclass=chr_file permissive=1 allow ... graphics_device ... for avc: denied { ioctl } for path="/dev/graphics/fb0" dev="tmpfs" ino=15121 ioctlcmd=5380 scontext=u:r:hal_graphics_composer:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1 allow ... ...:fd use for avc: denied { use } for path="anon_inode:dmabuf" dev="anon_inodefs" ino=12794 scontext=u:r:hal_graphics_composer:s0 tcontext=u:r:hal_graphics_allocator_service:s0 tclass=fd permissive=1 avc: denied { use } for path="anon_inode:sync_fence" dev="anon_inodefs" ino=12794 scontext=u:r:hal_graphics_composer:s0 tcontext=u:r:bootanim:s0 tclass=fd permissive=1 avc: denied { use } for path="anon_inode:sync_fence" dev="anon_inodefs" ino=12794 scontext=u:r:hal_graphics_composer:s0 tcontext=u:r:surfaceflinger:s0 tclass=fd permissive=1 avc: denied { use } for path="anon_inode:sync_fence" dev="anon_inodefs" ino=12794 scontext=u:r:hal_graphics_composer:s0 tcontext=u:r:platform_app:s0:c512,c768 tclass=fd permissive=1 binder_call(surfaceflinger, ...) for avc: denied { call } for scontext=u:r:surfaceflinger:s0 tcontext=u:r:hal_graphics_composer:s0 tclass=binder permissive=1 avc: denied { transfer } for scontext=u:r:surfaceflinger:s0 tcontext=u:r:hal_graphics_composer:s0 tclass=binder permissive=1 avc: denied { use } for path="anon_inode:sync_fence" dev="anon_inodefs" ino=12794 ioctlcmd=3e02 scontext=u:r:surfaceflinger:s0 tcontext=u:r:hal_graphics_composer:s0 tclass=fd permissive=1 avc: denied { use } for path="anon_inode:sync_fence" dev="anon_inodefs" ino=12794 scontext=u:r:surfaceflinger:s0 tcontext=u:r:hal_graphics_composer:s0 tclass=fd permissive=1 allow bootanim ...:fd use for avc: denied { use } for path="anon_inode:sync_fence" dev="anon_inodefs" ino=11947 scontext=u:r:bootanim:s0 tcontext=u:r:hal_graphics_composer:s0 tclass=fd permissive=1 Bug: 32021609 Test: make bootimage Change-Id: I036cdbebf0c619fef7559f294f1865f381b17588 |
||
---|---|---|
.. | ||
access_vectors | ||
adbd.te | ||
atrace.te | ||
audioserver.te | ||
bluetooth.te | ||
bootanim.te | ||
bootstat.te | ||
cameraserver.te | ||
cppreopts.te | ||
debuggerd.te | ||
dhcp.te | ||
drmserver.te | ||
dumpstate.te | ||
ephemeral_app.te | ||
file_contexts | ||
file_contexts_asan | ||
fingerprintd.te | ||
fs_use | ||
fsck.te | ||
gatekeeperd.te | ||
genfs_contexts | ||
hal_audio.te | ||
hal_boot.te | ||
hal_graphics_allocator.te | ||
hal_graphics_composer.te | ||
hal_light.te | ||
hal_memtrack.te | ||
hal_nfc.te | ||
hal_power.te | ||
hal_thermal.te | ||
hal_vibrator.te | ||
hal_vr.te | ||
hal_wifi.te | ||
hci_attach.te | ||
hostapd.te | ||
hwservicemanager.te | ||
init.te | ||
initial_sid_contexts | ||
initial_sids | ||
inputflinger.te | ||
install_recovery.te | ||
installd.te | ||
kernel.te | ||
keys.conf | ||
keystore.te | ||
lmkd.te | ||
logd.te | ||
mac_permissions.xml | ||
mdnsd.te | ||
mediacodec.te | ||
mediadrmserver.te | ||
mediaextractor.te | ||
mediaserver.te | ||
mls | ||
mls_macros | ||
mtp.te | ||
netd.te | ||
otapreopt_chroot.te | ||
otapreopt_slot.te | ||
perfprofd.te | ||
policy_capabilities | ||
port_contexts | ||
postinstall.te | ||
postinstall_dexopt.te | ||
ppp.te | ||
property_contexts | ||
racoon.te | ||
recovery_persist.te | ||
recovery_refresh.te | ||
rild.te | ||
roles | ||
runas.te | ||
sdcardd.te | ||
seapp_contexts | ||
security_classes | ||
service_contexts | ||
servicemanager.te | ||
su.te | ||
surfaceflinger.te | ||
system_server.te | ||
tee.te | ||
toolbox.te | ||
tzdatacheck.te | ||
ueventd.te | ||
uncrypt.te | ||
update_engine.te | ||
update_engine_common.te | ||
update_verifier.te | ||
users | ||
vdc.te | ||
vold.te | ||
webview_zygote.te | ||
wificond.te | ||
wpa.te | ||
zygote.te |