On 10/15/2013 11:11 PM, Ruowen Wang wrote:
Hi SEAndroid,
I am trying to see if it is possible to assign specific app using
specific domain name in seapp_context. For example,
user=_app name=com.android.email seinfo=platform domain=email_app
type=email_app_data_file
I want to assign the email app using email_app domain, but still using
platform key and seinfo=platform. Is this possible? I tried a little
bit. But it didn't work. If I want to make it work, do I need to
modify some code in selinux_android_setcontext?
Thanks a lot,
Ruowen
If your using the AOSP email app then I believe that is signed with the
release/testkey key which would make the seinfo = release. Check out
external/sepolicy/mac_permissions.xml for clarification.