Adds SELinux policies for gpu_probe service. These allow us to upload events to Perfetto. gpu_probe is an untrusted producer in Perfetto model, in same manner as traced_probes. Bug: 267669418 Test: see events produced when designating perfetto config. Change-Id: Id122870b14000288fc3c26aa3c49348a8f7322df
9 lines
209 B
Plaintext
9 lines
209 B
Plaintext
# gpu_probe
|
|
type gpu_probe_exec, exec_type, vendor_file_type, file_type;
|
|
type gpu_probe, domain;
|
|
|
|
init_daemon_domain(gpu_probe)
|
|
allow gpu_probe gpu_device:chr_file rw_file_perms;
|
|
|
|
perfetto_producer(gpu_probe)
|