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
265264f8
Commit
265264f8
authored
8 years ago
by
Narayan Kamath
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Allow the zygote to stat all files it opens. am:
63203a01
am:
7c4ecc87
am:
be69aa3d
Change-Id: I109ff9f701375edfc648f47c35deed0b9f36f1d0
parents
9542a4e4
be69aa3d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
zygote.te
+6
-0
6 additions, 0 deletions
zygote.te
with
6 additions
and
0 deletions
zygote.te
+
6
−
0
View file @
265264f8
...
...
@@ -40,6 +40,12 @@ allow zygote dex2oat_exec:file rx_file_perms;
allow zygote cgroup:dir create_dir_perms;
allow zygote cgroup:{ file lnk_file } r_file_perms;
allow zygote self:capability sys_admin;
# Allow zygote to stat the files that it opens. The zygote must
# be able to inspect them so that it can reopen them on fork
# if necessary: b/30963384
allow zygote pmsg_device:chr_file { getattr };
allow zygote debugfs_trace_marker:file { getattr };
# Check validity of SELinux context before use.
selinux_check_context(zygote)
# Check SELinux permissions.
...
...
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