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
b4585e37
Commit
b4585e37
authored
Dec 10, 2014
by
dcashman
Committed by
Android Git Automerger
Dec 10, 2014
Browse files
Options
Downloads
Plain Diff
am
10ecd05d
: Add neverallow rule for set_context_mgr.
* commit '
10ecd05d
': Add neverallow rule for set_context_mgr.
parents
dc58e1b0
10ecd05d
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
+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 @
b4585e37
...
...
@@ -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 @
b4585e37
...
...
@@ -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