Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
177cb0be
Commit
177cb0be
authored
7 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Make sure all public types are defined regardless of build variants" into oc-dev
parents
393c8e94
35e308cf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/perfprofd.te
+4
-1
4 additions, 1 deletion
public/perfprofd.te
public/su.te
+5
-1
5 additions, 1 deletion
public/su.te
with
9 additions
and
2 deletions
public/perfprofd.te
+
4
−
1
View file @
177cb0be
# 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;
...
...
This diff is collapsed.
Click to expand it.
public/su.te
+
5
−
1
View file @
177cb0be
# 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;
type
attribute su
mlstrustedsubject;
# Add su to various domains
# Add su to various domains
net_domain(su)
net_domain(su)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment