Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
4af76925
Commit
4af76925
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
Change-Id: Id8a7e0fd6c2bc4b5fb10ed41ac65d241510755d8
parents
ba10fd49
2cf7fba5
Branches
Branches containing commit
No related tags found
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 @
4af76925
# rules removed from the domain attribute
# 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.
# Read apk files under /data/app.
allow domain_deprecated apk_data_file:dir { getattr search };
allow domain_deprecated apk_data_file:dir { getattr search };
allow domain_deprecated apk_data_file:file r_file_perms;
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 @
4af76925
...
@@ -45,7 +45,7 @@ allow installd asec_image_file:file getattr;
...
@@ -45,7 +45,7 @@ allow installd asec_image_file:file getattr;
# and lib symlinks before the setfilecon call. May want to
# and lib symlinks before the setfilecon call. May want to
# move symlink creation after setfilecon in installd.
# move symlink creation after setfilecon in installd.
allow installd system_data_file:dir create_dir_perms;
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.
# Upgrade /data/media for multi-user if necessary.
allow installd media_rw_data_file:dir create_dir_perms;
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 @
4af76925
...
@@ -12,6 +12,7 @@ allow runas shell_data_file:file { read write };
...
@@ -12,6 +12,7 @@ allow runas shell_data_file:file { read write };
# run-as reads package information.
# run-as reads package information.
allow runas system_data_file:file r_file_perms;
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.
# run-as checks and changes to the app data dir.
dontaudit runas self:capability dac_override;
dontaudit runas self:capability dac_override;
...
...
This diff is collapsed.
Click to expand it.
public/vold.te
+
4
−
0
View file @
4af76925
...
@@ -104,6 +104,10 @@ allow vold efs_file:file rw_file_perms;
...
@@ -104,6 +104,10 @@ allow vold efs_file:file rw_file_perms;
# Create and mount on /data/tmp_mnt and management of expansion mounts
# 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: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
# Set scheduling policy of kernel processes
allow vold kernel:process setsched;
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