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
97bc7239
Commit
97bc7239
authored
11 years ago
by
Nick Kralevich
Committed by
Android Git Automerger
11 years ago
Browse files
Options
Downloads
Plain Diff
am
53c03f1b
: am
a730e50b
: Don\'t allow zygote init:binder call
* commit '
53c03f1b
': Don't allow zygote init:binder call
parents
a2f1e48d
53c03f1b
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
domain.te
+4
-0
4 additions, 0 deletions
domain.te
unconfined.te
+1
-1
1 addition, 1 deletion
unconfined.te
zygote.te
+0
-1
0 additions, 1 deletion
zygote.te
with
5 additions
and
2 deletions
domain.te
+
4
−
0
View file @
97bc7239
...
...
@@ -166,3 +166,7 @@ neverallow { domain -init } proc_security:file { append write };
# No domain should be allowed to ptrace init.
neverallow domain init:process ptrace;
# Init can't receive binder calls. If this neverallow rule is being
# triggered, it's probably due to a service with no SELinux domain.
neverallow domain init:binder call;
This diff is collapsed.
Click to expand it.
unconfined.te
+
1
−
1
View file @
97bc7239
...
...
@@ -38,5 +38,5 @@ allow unconfineddomain netif_type:netif *;
allow unconfineddomain port_type:socket_class_set name_bind;
allow unconfineddomain port_type:{ tcp_socket dccp_socket } name_connect;
allow unconfineddomain domain:peer recv;
allow unconfineddomain domain:binder { call transfer set_context_mgr };
allow unconfineddomain
{
domain
-init }
:binder { call transfer set_context_mgr };
allow unconfineddomain property_type:property_service set;
This diff is collapsed.
Click to expand it.
zygote.te
+
0
−
1
View file @
97bc7239
...
...
@@ -47,7 +47,6 @@ allow zygote zygote_exec:file { execute_no_trans open };
# handle bugreports b/10498304
allow zygote ashmem_device:chr_file execute;
allow zygote init:binder call;
allow zygote shell_data_file:file { write getattr };
allow zygote system_server:binder { transfer call };
allow zygote servicemanager:binder { call };
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