Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_vendor_cm into replicant-6.0

This commit is contained in:
Wolfgang Wiedmeyer 2016-01-02 14:12:03 +01:00
commit a746591c4e
4 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,2 @@
# External storage
allow fsck_untrusted self:capability sys_admin;

View File

@ -1 +1,3 @@
genfscon fuseblk / u:object_r:sdcard_external:s0
genfscon exfat / u:object_r:sdcard_external:s0
genfscon ntfs / u:object_r:sdcard_external:s0

View File

@ -4,3 +4,5 @@ allow system_server recovery_cache_file:file create_file_perms;
# Persistent properties
allow system_server persist_property_file:dir rw_dir_perms;
allow system_server persist_property_file:file { create_file_perms unlink };
allow system_server storage_stub_file:dir { getattr };

View File

@ -13,4 +13,10 @@ allow vold self:capability { setgid setuid };
# Vold can also run as minivold in the rootfs
recovery_only(`
allow vold rootfs:dir { add_name write };
allow vold rootfs:file execute_no_trans;
')
# External storage
allow vold storage_stub_file:dir { rw_file_perms search add_name };
allow vold mnt_media_rw_stub_file:dir r_dir_perms;
allow vold mkfs_exec:file { execute read open execute_no_trans };