Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
87ec1d55
Commit
87ec1d55
authored
Mar 17, 2017
by
Andreas Gampe
Committed by
android-build-merger
Mar 17, 2017
Browse files
Options
Downloads
Plain Diff
Sepolicy: Allow postinstall to read links
am:
3cc71b09
Change-Id: I09b098573619738cfaf8da9c84e6321bad72e6fa
parents
bcd48241
3cc71b09
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/dex2oat.te
+1
-0
1 addition, 0 deletions
public/dex2oat.te
public/postinstall_dexopt.te
+1
-0
1 addition, 0 deletions
public/postinstall_dexopt.te
with
2 additions
and
0 deletions
public/dex2oat.te
+
1
−
0
View file @
87ec1d55
...
@@ -34,6 +34,7 @@ allow dex2oat app_data_file:file { getattr read write lock };
...
@@ -34,6 +34,7 @@ allow dex2oat app_data_file:file { getattr read write lock };
allow dex2oat postinstall_dexopt:fd use;
allow dex2oat postinstall_dexopt:fd use;
allow dex2oat postinstall_file:dir { getattr search };
allow dex2oat postinstall_file:dir { getattr search };
allow dex2oat postinstall_file:lnk_file read;
# Allow dex2oat access to files in /data/ota.
# Allow dex2oat access to files in /data/ota.
allow dex2oat ota_data_file:dir ra_dir_perms;
allow dex2oat ota_data_file:dir ra_dir_perms;
...
...
This diff is collapsed.
Click to expand it.
public/postinstall_dexopt.te
+
1
−
0
View file @
87ec1d55
...
@@ -8,6 +8,7 @@ type postinstall_dexopt, domain;
...
@@ -8,6 +8,7 @@ type postinstall_dexopt, domain;
allow postinstall_dexopt self:capability { chown dac_override fowner setgid setuid };
allow postinstall_dexopt self:capability { chown dac_override fowner setgid setuid };
allow postinstall_dexopt postinstall_file:dir { getattr search };
allow postinstall_dexopt postinstall_file:dir { getattr search };
allow postinstall_dexopt postinstall_file:lnk_file read;
allow postinstall_dexopt proc:file { getattr open read };
allow postinstall_dexopt proc:file { getattr open read };
allow postinstall_dexopt tmpfs:file read;
allow postinstall_dexopt tmpfs:file read;
...
...
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