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
5b71b064
Commit
5b71b064
authored
8 years ago
by
Jeff Vander Stoep
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
domain_deprecate: remove system_data_file access am:
2b75437d
am:
2cf7fba5
am:
4af76925
am:
9d3d5f6a
Change-Id: I402fb9f87360a19fb0d03e8a4b720e4f0d33e025
parents
026038aa
9d3d5f6a
No related branches found
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 @
5b71b064
# 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 @
5b71b064
...
...
@@ -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 @
5b71b064
...
...
@@ -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 @
5b71b064
...
...
@@ -107,6 +107,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