sepolicy: add rules for config_modules=y

This commit is contained in:
Mister Oyster 2018-01-04 23:03:43 +01:00
parent 9c089676a2
commit 0775e48564
2 changed files with 8 additions and 0 deletions

View File

@ -4,3 +4,5 @@ allow kernel self:capability dac_override;
allow kernel wifi_data_file:dir search;
allow kernel wifi_data_file:file r_file_perms;
# modules
allow kernel self:system module_request;

View File

@ -12,3 +12,9 @@ allow vold protect_s_data_file:file create_file_perms;
allow vold proc_mtkcooler:dir r_dir_perms;
allow vold proc_mtktz:dir r_dir_perms;
# dm_device
allow vold dm_device:blk_file unlink;
# modules
allow vold kernel:system module_request;