xref: /aosp_15_r20/system/sepolicy/prebuilts/api/29.0/private/perfprofd.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Workeruserdebug_or_eng(`
2*e4a36f41SAndroid Build Coastguard Worker  typeattribute perfprofd coredomain;
3*e4a36f41SAndroid Build Coastguard Worker  init_daemon_domain(perfprofd)
4*e4a36f41SAndroid Build Coastguard Worker')
5*e4a36f41SAndroid Build Coastguard Worker
6*e4a36f41SAndroid Build Coastguard Workerneverallow {
7*e4a36f41SAndroid Build Coastguard Worker  domain
8*e4a36f41SAndroid Build Coastguard Worker  userdebug_or_eng(`
9*e4a36f41SAndroid Build Coastguard Worker    -statsd
10*e4a36f41SAndroid Build Coastguard Worker    -system_server
11*e4a36f41SAndroid Build Coastguard Worker    -system_suspend_server
12*e4a36f41SAndroid Build Coastguard Worker    -hal_health_server
13*e4a36f41SAndroid Build Coastguard Worker    -hwservicemanager
14*e4a36f41SAndroid Build Coastguard Worker  ')
15*e4a36f41SAndroid Build Coastguard Worker} perfprofd:binder call;
16*e4a36f41SAndroid Build Coastguard Worker
17*e4a36f41SAndroid Build Coastguard Workerneverallow perfprofd {
18*e4a36f41SAndroid Build Coastguard Worker  domain
19*e4a36f41SAndroid Build Coastguard Worker  userdebug_or_eng(`
20*e4a36f41SAndroid Build Coastguard Worker    -servicemanager
21*e4a36f41SAndroid Build Coastguard Worker    -statsd
22*e4a36f41SAndroid Build Coastguard Worker    -su
23*e4a36f41SAndroid Build Coastguard Worker    -system_server
24*e4a36f41SAndroid Build Coastguard Worker    -system_suspend_server
25*e4a36f41SAndroid Build Coastguard Worker    -hal_health_server
26*e4a36f41SAndroid Build Coastguard Worker    -hwservicemanager
27*e4a36f41SAndroid Build Coastguard Worker  ')
28*e4a36f41SAndroid Build Coastguard Worker}:binder call;
29