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
6c39ee00
Commit
6c39ee00
authored
12 years ago
by
Stephen Smalley
Browse files
Options
Downloads
Patches
Plain Diff
Make wallpaper_file a mlstrustedobject to permit writes from any app level.
parent
56ad8c73
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
file.te
+1
-1
1 addition, 1 deletion
file.te
system.te
+1
-1
1 addition, 1 deletion
system.te
with
2 additions
and
2 deletions
file.te
+
1
−
1
View file @
6c39ee00
...
...
@@ -54,7 +54,7 @@ type cache_file, file_type, mlstrustedobject;
# Default type for anything under /efs
type efs_file, file_type;
# Type for wallpaper file.
type wallpaper_file, file_type;
type wallpaper_file, file_type
, mlstrustedobject
;
# All devices have bluetooth efs files. But they
# vary per device, so this type is used in per
...
...
This diff is collapsed.
Click to expand it.
system.te
+
1
−
1
View file @
6c39ee00
...
...
@@ -148,7 +148,7 @@ allow system apk_data_file:file { relabelfrom relabelto };
# Relabel wallpaper.
allow system system_data_file:file relabelfrom;
allow system wallpaper_file:file relabelto;
allow system wallpaper_file:file r_file_perms;
allow system wallpaper_file:file r
w
_file_perms;
# Property Service write
allow system system_prop:property_service set;
...
...
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