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
0ebd1280
Commit
0ebd1280
authored
12 years ago
by
Robert Craig
Committed by
Android Git Automerger
12 years ago
Browse files
Options
Downloads
Plain Diff
am
8bb30801
: Add new domains for private apps.
* commit '
8bb30801
': Add new domains for private apps.
parents
d998ffe6
8bb30801
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
app.te
+4
-2
4 additions, 2 deletions
app.te
file.te
+3
-0
3 additions, 0 deletions
file.te
file_contexts
+2
-0
2 additions, 0 deletions
file_contexts
system.te
+2
-2
2 additions, 2 deletions
system.te
with
11 additions
and
4 deletions
app.te
+
4
−
2
View file @
0ebd1280
...
...
@@ -20,8 +20,10 @@ allow platform_app cache_file:file create_file_perms;
allow platform_app shell_data_file:dir search;
allow platform_app shell_data_file:file { open getattr read };
allow platform_app shell_data_file:lnk_file read;
# Populate /data/app/vmdl*.tmp file created by system server.
allow platform_app apk_tmp_file:file rw_file_perms;
# Populate /data/app/vmdl*.tmp, /data/app-private/vmdl*.tmp files
# created by system server.
allow platform_app { apk_tmp_file apk_private_tmp_file }:file rw_file_perms;
allow platform_app apk_private_data_file:dir search;
# ASEC
allow platform_app asec_apk_file:dir create_dir_perms;
allow platform_app asec_apk_file:file create_file_perms;
...
...
This diff is collapsed.
Click to expand it.
file.te
+
3
−
0
View file @
0ebd1280
...
...
@@ -36,6 +36,9 @@ type tombstone_data_file, file_type, data_file_type;
# /data/app - user-installed apps
type apk_data_file, file_type, data_file_type;
type apk_tmp_file, file_type, data_file_type, mlstrustedobject;
# /data/app-private - forward-locked apps
type apk_private_data_file, file_type, data_file_type;
type apk_private_tmp_file, file_type, data_file_type, mlstrustedobject;
# /data/dalvik-cache
type dalvikcache_data_file, file_type, data_file_type;
# /data/local - writable by shell
...
...
This diff is collapsed.
Click to expand it.
file_contexts
+
2
−
0
View file @
0ebd1280
...
...
@@ -165,6 +165,8 @@
/data/anr(/.*)? u:object_r:anr_data_file:s0
/data/app(/.*)? u:object_r:apk_data_file:s0
/data/app/vmdl.*\.tmp u:object_r:apk_tmp_file:s0
/data/app-private(/.*)? u:object_r:apk_private_data_file:s0
/data/app-private/vmdl.*\.tmp u:object_r:apk_private_tmp_file:s0
/data/tombstones(/.*)? u:object_r:tombstone_data_file:s0
/data/local/tmp(/.*)? u:object_r:shell_data_file:s0
# Misc data
...
...
This diff is collapsed.
Click to expand it.
system.te
+
2
−
2
View file @
0ebd1280
...
...
@@ -152,8 +152,8 @@ allow system data_file_type:notdevfile_class_set create_file_perms;
allow system rootfs:file r_file_perms;
# Relabel apk files.
allow system apk_tmp_file:file { relabelfrom relabelto };
allow system apk_data_file:file { relabelfrom relabelto };
allow system
{
apk_tmp_file
apk_private_tmp_file }
:file { relabelfrom relabelto };
allow system
{
apk_data_file
apk_private_data_file }
:file { relabelfrom relabelto };
# Relabel wallpaper.
allow system system_data_file:file relabelfrom;
...
...
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