Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
01ec72ec
Commit
01ec72ec
authored
9 years ago
by
Nick Kralevich
Committed by
Android Git Automerger
9 years ago
Browse files
Options
Downloads
Plain Diff
am
137e07f1
: am
f2c4e128
: neverallow service_manager / service_manager_type
* commit '
137e07f1
': neverallow service_manager / service_manager_type
parents
01c80f2c
137e07f1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
domain.te
+6
-0
6 additions, 0 deletions
domain.te
init.te
+4
-0
4 additions, 0 deletions
init.te
with
10 additions
and
0 deletions
domain.te
+
6
−
0
View file @
01ec72ec
...
...
@@ -493,3 +493,9 @@ neverallow {
userdebug_or_eng(`-uncrypt')
-installd
} shell_data_file:lnk_file read;
# servicemanager is the only process which handles list request
neverallow domain ~servicemanager:service_manager list;
# only service_manager_types can be added to service_manager
neverallow domain ~service_manager_type:service_manager { add find };
This diff is collapsed.
Click to expand it.
init.te
+
4
−
0
View file @
01ec72ec
...
...
@@ -282,3 +282,7 @@ neverallow init app_data_file:lnk_file read;
# init should never execute a program without changing to another domain.
neverallow init { file_type fs_type }:file execute_no_trans;
# Init never adds or uses services via service_manager.
neverallow init service_manager_type:service_manager { add find };
neverallow init servicemanager:service_manager list;
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