c5401edfb4
Updates to allow profiling module to run new trace_redactor binary. Allow the trace_redactor binary to read the input trace file and write the output file. Bug: 327423523 Test: build/flash and atest CtsProfilingModuleTests#testRequestSystemTraceSuccess Change-Id: Id6684d8a9891e9ed42fe115066e41a89a7e8a097
13 lines
657 B
Text
13 lines
657 B
Text
# Trace Redactor command line
|
|
type trace_redactor_exec, system_file_type, exec_type, file_type;
|
|
type trace_redactor, domain, coredomain;
|
|
|
|
# Use pipes provided by system_server
|
|
allow trace_redactor system_server:fd use;
|
|
allow trace_redactor system_server:fifo_file { read write getattr ioctl };
|
|
|
|
# Allow trace_redactor to read output trace file and write to new redacted file.
|
|
allow trace_redactor perfetto_traces_profiling_data_file:dir search;
|
|
allow trace_redactor perfetto_traces_data_file:dir search;
|
|
allow trace_redactor perfetto_traces_data_file:file { read getattr ioctl };
|
|
allow trace_redactor perfetto_traces_profiling_data_file:file rw_file_perms;
|