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
6af0cc24
Commit
6af0cc24
authored
11 years ago
by
The Android Open Source Project
Browse files
Options
Downloads
Plain Diff
Merge commit '
060f6fa6
' into HEAD
parents
7ef2b39f
060f6fa6
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
installd.te
+2
-1
2 additions, 1 deletion
installd.te
netd.te
+1
-1
1 addition, 1 deletion
netd.te
vold.te
+2
-1
2 additions, 1 deletion
vold.te
zygote.te
+7
-0
7 additions, 0 deletions
zygote.te
with
12 additions
and
3 deletions
installd.te
+
2
−
1
View file @
6af0cc24
...
...
@@ -16,7 +16,8 @@ allow installd apk_data_file:file r_file_perms;
allow installd apk_tmp_file:file r_file_perms;
allow installd system_file:file x_file_perms;
allow installd cgroup:dir create_dir_perms;
allow installd download_file:dir { read getattr };
allow installd download_file:dir { r_dir_perms };
allow installd download_file:file { r_file_perms };
dontaudit installd self:capability sys_admin;
# Check validity of SELinux context before use.
selinux_check_context(installd)
...
...
This diff is collapsed.
Click to expand it.
netd.te
+
1
−
1
View file @
6af0cc24
...
...
@@ -3,7 +3,7 @@ type netd, domain;
type netd_exec, exec_type, file_type;
init_daemon_domain(netd)
allow netd self:capability { net_admin net_raw kill };
allow netd self:capability { net_admin net_raw kill
fsetid
};
allow netd self:netlink_kobject_uevent_socket *;
allow netd self:netlink_route_socket *;
allow netd self:netlink_nflog_socket *;
...
...
This diff is collapsed.
Click to expand it.
vold.te
+
2
−
1
View file @
6af0cc24
...
...
@@ -27,7 +27,7 @@ allow vold dm_device:chr_file rw_file_perms;
allow vold domain:dir r_dir_perms;
allow vold domain:{ file lnk_file } r_file_perms;
allow vold domain:process { signal sigkill };
allow vold self:capability { sys_ptrace };
allow vold self:capability { sys_ptrace
kill
};
# XXX Label sysfs files with a specific type?
allow vold sysfs:file rw_file_perms;
...
...
@@ -57,6 +57,7 @@ allow vold kernel:process setsched;
# Property Service
allow vold vold_prop:property_service set;
allow vold powerctl_prop:property_service set;
allow vold ctl_default_prop:property_service set;
# ASEC
allow vold asec_image_file:file create_file_perms;
...
...
This diff is collapsed.
Click to expand it.
zygote.te
+
7
−
0
View file @
6af0cc24
...
...
@@ -44,3 +44,10 @@ allow zygote labeledfs:filesystem remount;
# Handle --invoke-with command when launching Zygote with a wrapper command.
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