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
9d3d5f6a
Commit
9d3d5f6a
authored
Jul 24, 2017
by
Jeff Vander Stoep
Committed by
android-build-merger
Jul 24, 2017
Browse files
Options
Downloads
Plain Diff
domain_deprecate: remove system_data_file access am:
2b75437d
am:
2cf7fba5
am:
4af76925
Change-Id: I39e47539c1a08372b7918316d3dc4365eb8ebfdd
parents
326ea221
4af76925
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
private/domain_deprecated.te
+0
-19
0 additions, 19 deletions
private/domain_deprecated.te
public/installd.te
+1
-1
1 addition, 1 deletion
public/installd.te
public/runas.te
+1
-0
1 addition, 0 deletions
public/runas.te
public/vold.te
+4
-0
4 additions, 0 deletions
public/vold.te
with
6 additions
and
20 deletions
private/domain_deprecated.te
+
0
−
19
View file @
9d3d5f6a
# rules removed from the domain attribute
# Read files already opened under /data.
allow domain_deprecated system_data_file:file { getattr read };
allow domain_deprecated system_data_file:lnk_file r_file_perms;
userdebug_or_eng(`
auditallow {
domain_deprecated
-appdomain
-sdcardd
-system_server
-tee
} system_data_file:file { getattr read };
auditallow {
domain_deprecated
-appdomain
-system_server
-tee
} system_data_file:lnk_file r_file_perms;
')
# Read apk files under /data/app.
allow domain_deprecated apk_data_file:dir { getattr search };
allow domain_deprecated apk_data_file:file r_file_perms;
...
...
This diff is collapsed.
Click to expand it.
public/installd.te
+
1
−
1
View file @
9d3d5f6a
...
...
@@ -45,7 +45,7 @@ allow installd asec_image_file:file getattr;
# and lib symlinks before the setfilecon call. May want to
# move symlink creation after setfilecon in installd.
allow installd system_data_file:dir create_dir_perms;
allow installd system_data_file:lnk_file { create setattr unlink };
allow installd system_data_file:lnk_file { create
getattr
setattr unlink };
# Upgrade /data/media for multi-user if necessary.
allow installd media_rw_data_file:dir create_dir_perms;
...
...
This diff is collapsed.
Click to expand it.
public/runas.te
+
1
−
0
View file @
9d3d5f6a
...
...
@@ -12,6 +12,7 @@ allow runas shell_data_file:file { read write };
# run-as reads package information.
allow runas system_data_file:file r_file_perms;
allow runas system_data_file:lnk_file getattr;
# run-as checks and changes to the app data dir.
dontaudit runas self:capability dac_override;
...
...
This diff is collapsed.
Click to expand it.
public/vold.te
+
4
−
0
View file @
9d3d5f6a
...
...
@@ -104,6 +104,10 @@ allow vold efs_file:file rw_file_perms;
# Create and mount on /data/tmp_mnt and management of expansion mounts
allow vold system_data_file:dir { create rw_dir_perms mounton setattr rmdir };
allow vold system_data_file:lnk_file getattr;
# for secdiscard
allow vold system_data_file:file read;
# Set scheduling policy of kernel processes
allow vold kernel:process setsched;
...
...
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