diff options
| author | Jan Engelmohr <jan.engelmohr@mailbox.tu-dresden.de> | 2016-08-16 00:02:57 +0200 |
|---|---|---|
| committer | Jan Engelmohr <jan.engelmohr@mailbox.tu-dresden.de> | 2016-08-16 00:02:57 +0200 |
| commit | 27d23ae4b8ba7e4bbd34a06f8c2e17ac8fa535bf (patch) | |
| tree | ddad3e769e79b3222c61bb0f0e208c9993ca378f /sepolicy/program_binary.te | |
set up mt6753 device tree
Diffstat (limited to 'sepolicy/program_binary.te')
| -rwxr-xr-x | sepolicy/program_binary.te | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sepolicy/program_binary.te b/sepolicy/program_binary.te new file mode 100755 index 0000000..1cbb6c3 --- /dev/null +++ b/sepolicy/program_binary.te @@ -0,0 +1,37 @@ +# ============================================== +# Policy File of /system/bin/program_binary_service Executable File + +# ============================================== +# Type Declaration +# ============================================== +type program_binary, domain; +type program_binary_exec, exec_type, file_type; +type program_binary_service, service_manager_type; + +# ============================================== +# MTK Policy Rule +# ============================================== +init_daemon_domain(program_binary) + +# Date : 2014/1/6 +# Operation : New +# Purpose : Cache program binaries for HWUI usage +binder_service(program_binary) +binder_use(program_binary) +binder_call(domain, program_binary) + +# Date : 2014/1/6 +# Operation : New +# Purpose : To manipulate GPU +allow program_binary gpu_device:chr_file { open read write ioctl }; +allow program_binary gpu_device:chr_file getattr; + +# Date : 2014/1/6 +# Operation : New +# Purpose : To be a service +allow program_binary program_binary_service:service_manager add; + +# Date : 2014/1/6 +# Operation : New +# Purpose : To allow binder call to system server. +allow program_binary system_server:binder call; |
