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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
b46c47fe
Commit
b46c47fe
authored
10 years ago
by
dcashman
Committed by
Android Git Automerger
10 years ago
Browse files
Options
Downloads
Plain Diff
am
b4585e37
: am
10ecd05d
: Add neverallow rule for set_context_mgr.
* commit '
b4585e37
': Add neverallow rule for set_context_mgr.
parents
433f2af5
b4585e37
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
domain.te
+3
-0
3 additions, 0 deletions
domain.te
unconfined.te
+1
-1
1 addition, 1 deletion
unconfined.te
with
4 additions
and
1 deletion
domain.te
+
3
−
0
View file @
b46c47fe
...
...
@@ -329,3 +329,6 @@ neverallow { domain -recovery } system_block_device:blk_file write;
# No domains other than install_recovery or recovery can write to recovery.
neverallow { domain -install_recovery -recovery } recovery_block_device:blk_file write;
# Only servicemanager should be able to register with binder as the context manager
neverallow { domain -servicemanager } *:binder set_context_mgr;
This diff is collapsed.
Click to expand it.
unconfined.te
+
1
−
1
View file @
b46c47fe
...
...
@@ -90,4 +90,4 @@ allow unconfineddomain contextmount_type:notdevfile_class_set r_file_perms;
allow unconfineddomain node_type:node *;
allow unconfineddomain netif_type:netif *;
allow unconfineddomain domain:peer recv;
allow unconfineddomain { domain -init }:binder { call transfer
set_context_mgr
};
allow unconfineddomain { domain -init }:binder { call transfer };
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