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
acfd140c
Commit
acfd140c
authored
9 years ago
by
Nick Kralevich
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "eliminate some anr_data_file permissions."
parents
f4d39ca1
979adffd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dumpstate.te
+1
-2
1 addition, 2 deletions
dumpstate.te
system_server.te
+3
-2
3 additions, 2 deletions
system_server.te
with
4 additions
and
4 deletions
dumpstate.te
+
1
−
2
View file @
acfd140c
...
...
@@ -24,9 +24,8 @@ allow dumpstate system_file:file execute_no_trans;
# Create and write into /data/anr/
allow dumpstate self:capability { dac_override chown fowner fsetid };
allow dumpstate anr_data_file:dir
{
rw_dir_perms
relabelto }
;
allow dumpstate anr_data_file:dir rw_dir_perms;
allow dumpstate anr_data_file:file create_file_perms;
allow dumpstate system_data_file:dir { create_dir_perms relabelfrom };
# Allow reading /data/system/uiderrors.txt
# TODO: scope this down.
...
...
This diff is collapsed.
Click to expand it.
system_server.te
+
3
−
2
View file @
acfd140c
...
...
@@ -269,9 +269,10 @@ allow system_server system_data_file:file relabelfrom;
allow system_server wallpaper_file:file relabelto;
allow system_server wallpaper_file:file { rw_file_perms unlink };
# Relabel /data/anr.
# This was originally required for relabeling /data/anr,
# but should not be used anymore. TODO: remove it.
allow system_server system_data_file:dir relabelfrom;
allow system_server
anr
_data_file:dir relabel
to
;
audit
allow system_server
system
_data_file:dir relabel
from
;
# Property Service write
set_prop(system_server, system_prop)
...
...
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