1) device/qcom/sepolicy/common/file_contexts

/(vendor|system/vendor)/bin/hw/android\.hardware\.extphone@1\.0-service u:object_r:hal_extphone_xl_exec:s0

2) device/qcom/sepolicy/common/radio.te

allow radio default_android_hwservice:hwservice_manager find;
allow radio hal_extphone_xl:binder call;

3) device/qcom/sepolicy/msm8909/attributes

attribute hal_extphone;
attribute hal_extphone_server;

4) device/qcom/sepolicy/msm8909/hwservice.te

type hal_extphone_hwservice, hwservice_manager_type;

5) device/qcom/sepolicy/common/hal_extphone_xl.te

# hal_extphone_ti

type hal_extphone_xl, domain;
type hal_extphone_xl_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_extphone_xl)
hal_server_domain(hal_extphone_xl, hal_extphone)add_hwservice(hal_extphone_server, hal_extphone_hwservice)allow hal_extphone_xl default_android_hwservice:hwservice_manager { add find };

6) system/sepolicy/public/domain.te

#neverallow * default_android_hwservice:hwservice_manager { add find };

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android(安卓)显示不满屏的问题解决
  2. Android(安卓)- 设备的DeviceId
  3. Android之网络请求6————OkHttp源码3:
  4. Android(安卓)Test 基础知识
  5. android camera(四):camera 驱动 GT2005
  6. Android(安卓)自定义view(二) 如何实现自
  7. Android(安卓)Studio主要目录及文件简介
  8. Android(安卓)支持多屏幕机制
  9. android 当前apn的状态以及获取
  10. android中处理json最佳方法