sepolicy: Allow CMUpdater/uncrypt access to recovery_cache_file

Change-Id: I514d128160ed4e04564077d7a2e2ad297af92e28
This commit is contained in:
dhacker29 2015-02-18 18:01:22 -05:00
parent da48ab89ac
commit c552843f1a
3 changed files with 10 additions and 0 deletions

View File

@ -14,4 +14,11 @@
<allow-all />
<seinfo value="release" />
</signer>
<!-- CMUpdater -->
<signer signature="@RELEASE" >
<package name="com.cyanogenmod.updater" >
<seinfo value="cmupdater" />
</package>
</signer>
</policy>

View File

@ -1,2 +1,3 @@
user=_app seinfo=platform name=com.cyanogenmod.filemanager domain=untrusted_app type=app_data_file
user=theme_man domain=system_app type=system_data_file
user=_app seinfo=cmupdater name=com.cyanogenmod.updater domain=system_app type=system_app_data_file

View File

@ -1 +1,3 @@
r_dir_file(uncrypt, media_rw_data_file)
allow uncrypt recovery_cache_file:dir create_dir_perms;
allow uncrypt recovery_cache_file:file create_file_perms;