vndservicemanager.te 638 B

1234567891011121314151617
  1. # vndservicemanager - the Binder context manager for vendor processes
  2. type vndservicemanager_exec, exec_type, vendor_file_type, file_type;
  3. init_daemon_domain(vndservicemanager);
  4. allow vndservicemanager self:binder set_context_mgr;
  5. # transfer binder objects to other processes (TODO b/35870313 limit this to vendor-only)
  6. allow vndservicemanager { domain -coredomain -init -vendor_init }:binder transfer;
  7. allow vndservicemanager vndbinder_device:chr_file rw_file_perms;
  8. # Read vndservice_contexts
  9. allow vndservicemanager vndservice_contexts_file:file r_file_perms;
  10. # Check SELinux permissions.
  11. selinux_check_access(vndservicemanager)