1. 程式人生 > >8909高通平臺--系統許可權

8909高通平臺--系統許可權

1、系統許可權新增

device/qcom/sepolicy/common/system_app.te 檔案中新增:

allow system_app test_device:chr_filerw_file_perms;

        device/qcom/sepolicy/common/untrusted_app.te檔案中新增:  

allow untrusted_app test_device:chr_file rw_file_perms;

2、修改裝置節點

        在檔案device/qcom/common/rootdir/etc/ueventd.qcom.rc中修改:

/dev/test                

0660  radio     radio

修改->

/dev/test                0666   radio     radio