blob: f1ddb37c98cb0d528830f042efd6e7e3ea20288e [file] [log] [blame]
Nick Kralevich748fdef2013-07-12 16:33:29 -07001###
2### Services with isolatedProcess=true in their manifest.
3###
4### This file defines the rules for isolated apps. An "isolated
5### app" is an APP with UID between AID_ISOLATED_START (99000)
6### and AID_ISOLATED_END (99999).
7###
8### isolated_app includes all the appdomain rules, plus the
9### additional following rules:
10###
11
12type isolated_app, domain;
Nick Kralevich748fdef2013-07-12 16:33:29 -070013app_domain(isolated_app)
Nick Kralevich6634a102013-07-12 18:45:56 -070014
Nick Kralevich6634a102013-07-12 18:45:56 -070015# Already connected, unnamed sockets being passed over some other IPC
16# hence no sock_file or connectto permission. This appears to be how
17# Chrome works, may need to be updated as more apps using isolated services
18# are examined.
19allow isolated_app appdomain:unix_stream_socket { read write };
Geremy Condra217f8af2013-09-05 15:36:30 -070020
21allow isolated_app dalvikcache_data_file:file execute;
22allow isolated_app apk_data_file:dir getattr;