Skip to content
Snippets Groups Projects
Commit 0de06bc7 authored by Sandeep Patil's avatar Sandeep Patil Committed by android-build-merger
Browse files

Merge "Make sure all public types are defined regardless of build variants" into oc-dev

am: 177cb0be

Change-Id: I456f31f2c674608a1e7188ec19f711512a761436
parents 061174fb 177cb0be
Branches
Tags
No related merge requests found
# perfprofd - perf profile collection daemon # perfprofd - perf profile collection daemon
type perfprofd, domain;
type perfprofd_exec, exec_type, file_type; type perfprofd_exec, exec_type, file_type;
userdebug_or_eng(` userdebug_or_eng(`
type perfprofd, domain, domain_deprecated, mlstrustedsubject, coredomain; typeattribute perfprofd domain_deprecated;
typeattribute perfprofd coredomain;
typeattribute perfprofd mlstrustedsubject;
# perfprofd needs to control CPU hot-plug in order to avoid kernel # perfprofd needs to control CPU hot-plug in order to avoid kernel
# perfevents problems in cases where CPU goes on/off during measurement; # perfevents problems in cases where CPU goes on/off during measurement;
......
# All types must be defined regardless of build variant to ensure
# policy compilation succeeds with userdebug/user combination at boot
type su, domain;
# File types must be defined for file_contexts. # File types must be defined for file_contexts.
type su_exec, exec_type, file_type; type su_exec, exec_type, file_type;
...@@ -5,7 +9,7 @@ userdebug_or_eng(` ...@@ -5,7 +9,7 @@ userdebug_or_eng(`
# Domain used for su processes, as well as for adbd and adb shell # Domain used for su processes, as well as for adbd and adb shell
# after performing an adb root command. The domain definition is # after performing an adb root command. The domain definition is
# wrapped to ensure that it does not exist at all on -user builds. # wrapped to ensure that it does not exist at all on -user builds.
type su, domain, mlstrustedsubject; typeattribute su mlstrustedsubject;
# Add su to various domains # Add su to various domains
net_domain(su) net_domain(su)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment