Skip to content

Commit

Permalink
tee.te: set persist_path permission
Browse files Browse the repository at this point in the history
DRM needs rw permission to access /persist/
for Widevine OEMCrypto V9 dependency.

Change-Id: Ibb2bd7a118e35eb70a96f2354ca542d9b3644187
  • Loading branch information
Mekala Natarajan authored and Vineetas committed Aug 20, 2014
1 parent 2327854 commit abc1855
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions init.mako.rc
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ service bugreport /system/bin/dumpstate -d -p -B \
keycodes 114 115 116

service qseecomd /system/bin/qseecomd
class late_start
user system
group system
class core
user root
group root

service diag_mdlog /system/bin/diag_mdlog -s 100
class late_start
Expand Down
5 changes: 2 additions & 3 deletions sepolicy/tee.te
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ allow tee drm_data_file:dir create_dir_perms;
allow tee drm_data_file:file create_file_perms;

# Access /persist/{widevine,playready}
allow tee persist_file:dir search;
allow tee persist_drm_file:dir r_dir_perms;
allow tee persist_drm_file:file r_file_perms;
allow tee persist_file:dir { add_name create_dir_perms };
allow tee persist_file:file create_file_perms;

0 comments on commit abc1855

Please sign in to comment.