blob: 42d462a7535d0bdc7d08fa647dc20074420cd0ce [file] [log] [blame]
bohu53567182017-05-26 10:26:15 -07001# define SELinux domain
2type hal_drm_widevine, domain;
3hal_server_domain(hal_drm_widevine, hal_drm)
4
5type hal_drm_widevine_exec, exec_type, vendor_file_type, file_type;
6init_daemon_domain(hal_drm_widevine)
7
8allow hal_drm mediacodec:fd use;
9allow hal_drm { appdomain -isolated_app }:fd use;
10
bohu2ca363a2017-08-25 11:15:03 -070011vndbinder_use(hal_drm_widevine);
bohu53567182017-05-26 10:26:15 -070012hal_client_domain(hal_drm_widevine, hal_graphics_composer);