2012-01-04 18:33:27 +01:00
|
|
|
# drmserver - DRM service
|
|
|
|
type drmserver, domain;
|
|
|
|
type drmserver_exec, exec_type, file_type;
|
|
|
|
|
|
|
|
init_daemon_domain(drmserver)
|
|
|
|
typeattribute drmserver mlstrustedsubject;
|
|
|
|
|
|
|
|
# Perform Binder IPC to system server.
|
|
|
|
binder_use(drmserver)
|
|
|
|
binder_call(drmserver, system)
|
2012-03-07 20:59:01 +01:00
|
|
|
binder_call(drmserver, appdomain)
|
|
|
|
binder_service(drmserver)
|
|
|
|
|
2012-08-10 12:25:52 +02:00
|
|
|
# Perform Binder IPC to mediaserver
|
|
|
|
binder_call(drmserver, mediaserver)
|
|
|
|
|
2012-03-07 20:59:01 +01:00
|
|
|
allow drmserver sdcard:dir search;
|
|
|
|
allow drmserver drm_data_file:dir create_dir_perms;
|
|
|
|
allow drmserver drm_data_file:file create_file_perms;
|
2012-08-10 12:25:52 +02:00
|
|
|
allow drmserver self:{ tcp_socket udp_socket } *;
|
2012-08-13 12:09:39 +02:00
|
|
|
allow drmserver tee_device:chr_file rw_file_perms;
|