These need to be added to the hardware/video.d file for krillin (this is part of the device tarball and not part of apparmor-easyprof-ubuntu and are thus handled separately):
@{PROC}/M4U_device r,
/{,android/}system/etc/mtk_omx_core.cfg r,
/dev/MTK_SMI r,
That said, I wonder why the gallery app itself is accessing these files and not just letting media-hub do it? Note, media-hub already has the first two of these rules in its policy.
These need to be added to the hardware/video.d file for krillin (this is part of the device tarball and not part of apparmor- easyprof- ubuntu and are thus handled separately): /M4U_device r, }system/ etc/mtk_ omx_core. cfg r,
@{PROC}
/{,android/
/dev/MTK_SMI r,
That said, I wonder why the gallery app itself is accessing these files and not just letting media-hub do it? Note, media-hub already has the first two of these rules in its policy.