xref: /aosp_15_r20/system/sepolicy/prebuilts/api/31.0/private/halserverdomain.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Worker###
2*e4a36f41SAndroid Build Coastguard Worker### Rules for all domains which offer a HAL service over HwBinder
3*e4a36f41SAndroid Build Coastguard Worker###
4*e4a36f41SAndroid Build Coastguard Worker
5*e4a36f41SAndroid Build Coastguard Worker# Register the HAL service with hwservicemanager
6*e4a36f41SAndroid Build Coastguard Workerhwbinder_use(halserverdomain)
7*e4a36f41SAndroid Build Coastguard Worker
8*e4a36f41SAndroid Build Coastguard Worker# Find HAL implementations
9*e4a36f41SAndroid Build Coastguard Workerallow halserverdomain system_file:dir r_dir_perms;
10*e4a36f41SAndroid Build Coastguard Worker
11*e4a36f41SAndroid Build Coastguard Worker# Used to wait for hwservicemanager
12*e4a36f41SAndroid Build Coastguard Workerget_prop(halserverdomain, hwservicemanager_prop)
13