From 16ebb161eb5a2fc3abb85a1d64f8e57b4cff729e Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Wed, 14 Apr 2021 22:18:41 +0200 Subject: [PATCH] traced: move traced_tmpfs to public policy Allow the perfetto_producer macro to be used in device-specific policy. Bug: 185379881 Test: TH Change-Id: I6932ff91a3ed095b5edce4076bdfd8607e925c6e --- private/traced.te | 1 - public/traced.te | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/private/traced.te b/private/traced.te index aa169662d..6e3ad460c 100644 --- a/private/traced.te +++ b/private/traced.te @@ -3,7 +3,6 @@ # type traced is defined under /public (because iorapd rules # under public/ need to refer to it). type traced_exec, system_file_type, exec_type, file_type; -type traced_tmpfs, file_type; # Allow init to exec the daemon. init_daemon_domain(traced) diff --git a/public/traced.te b/public/traced.te index ec5b85039..922d46e08 100644 --- a/public/traced.te +++ b/public/traced.te @@ -1,2 +1,3 @@ type traced, domain, coredomain, mlstrustedsubject; +type traced_tmpfs, file_type;