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
81560733
Commit
81560733
authored
11 years ago
by
Geremy Condra
Browse files
Options
Downloads
Patches
Plain Diff
Fix denials encountered while getting bugreports.
Bug: 10498304 Change-Id: I312665a2cd09fa16ae3f3978aebdb0da99cf1f74
parent
765e95f9
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
app.te
+2
-2
2 additions, 2 deletions
app.te
domain.te
+1
-1
1 addition, 1 deletion
domain.te
zygote.te
+1
-1
1 addition, 1 deletion
zygote.te
with
4 additions
and
4 deletions
app.te
+
2
−
2
View file @
81560733
...
@@ -76,8 +76,8 @@ allow appdomain isolated_app:unix_stream_socket { read write };
...
@@ -76,8 +76,8 @@ allow appdomain isolated_app:unix_stream_socket { read write };
# Backup ability for every app. BMS opens and passes the fd
# Backup ability for every app. BMS opens and passes the fd
# to any app that has backup ability. Hence, no open permissions here.
# to any app that has backup ability. Hence, no open permissions here.
allow appdomain backup_data_file:file { read write };
allow appdomain backup_data_file:file { read write
getattr
};
allow appdomain
cache_backup_file:file { read write };
allow appdomain cache_backup_file:file { read write
getattr
};
# Backup ability using 'adb backup'
# Backup ability using 'adb backup'
allow appdomain system_data_file:lnk_file getattr;
allow appdomain system_data_file:lnk_file getattr;
...
...
This diff is collapsed.
Click to expand it.
domain.te
+
1
−
1
View file @
81560733
...
@@ -81,7 +81,7 @@ allow domain system_data_file:file { getattr read };
...
@@ -81,7 +81,7 @@ allow domain system_data_file:file { getattr read };
allow domain system_data_file:lnk_file read;
allow domain system_data_file:lnk_file read;
# Read apk files under /data/app.
# Read apk files under /data/app.
allow domain apk_data_file:dir search;
allow domain apk_data_file:dir
{ getattr
search
}
;
allow domain apk_data_file:file r_file_perms;
allow domain apk_data_file:file r_file_perms;
# Read /data/dalvik-cache.
# Read /data/dalvik-cache.
...
...
This diff is collapsed.
Click to expand it.
zygote.te
+
1
−
1
View file @
81560733
...
@@ -12,7 +12,7 @@ allow zygote self:capability setpcap;
...
@@ -12,7 +12,7 @@ allow zygote self:capability setpcap;
allow zygote system:process dyntransition;
allow zygote system:process dyntransition;
allow zygote appdomain:process dyntransition;
allow zygote appdomain:process dyntransition;
# Allow zygote to read app data dirs (b/10455872)
# Allow zygote to read app data dirs (b/10455872)
allow zygote appdomain:dir search;
allow zygote appdomain:dir
{ getattr
search
}
;
allow zygote appdomain:file { r_file_perms };
allow zygote appdomain:file { r_file_perms };
# Move children into the peer process group.
# Move children into the peer process group.
allow zygote system:process { getpgid setpgid };
allow zygote system:process { getpgid setpgid };
...
...
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