Oleg Matcovschi | 4f3600f | 2021-08-02 09:12:02 -0700 | [diff] [blame] | 1 | type init_dpm, domain; |
| 2 | type init_dpm_exec, exec_type, vendor_file_type, file_type; |
| 3 | |
| 4 | init_daemon_domain(init_dpm) |
| 5 | |
| 6 | userdebug_or_eng(` |
| 7 | allow init_dpm vendor_toolbox_exec:file execute_no_trans; |
Bryan Bong Gyoune Kim | 3fbaf0e | 2023-01-18 11:20:08 -0800 | [diff] [blame] | 8 | allow init_dpm sysfs_dpm:file r_file_perms; |
Oleg Matcovschi | 4f3600f | 2021-08-02 09:12:02 -0700 | [diff] [blame] | 9 | allow init_dpm block_device:dir search; |
| 10 | allow init_dpm dpm_block_device:blk_file rw_file_perms; |
Bryan Bong Gyoune Kim | e682a52 | 2023-05-29 19:37:48 -0700 | [diff] [blame] | 11 | allow init_dpm custom_ab_block_device:blk_file rw_file_perms; |
Oleg Matcovschi | 4f3600f | 2021-08-02 09:12:02 -0700 | [diff] [blame] | 12 | ') |