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
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
9e332a59
Commit
9e332a59
authored
6 years ago
by
Annie Meng
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add initial sepolicy for app data snapshots."
parents
2d86b650
2ad229c7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/file.te
+4
-0
4 additions, 0 deletions
private/file.te
private/file_contexts
+4
-0
4 additions, 0 deletions
private/file_contexts
private/vold_prepare_subdirs.te
+2
-0
2 additions, 0 deletions
private/vold_prepare_subdirs.te
with
10 additions
and
0 deletions
private/file.te
+
4
−
0
View file @
9e332a59
...
@@ -16,3 +16,7 @@ type debugfs_kcov, fs_type, debugfs_type;
...
@@ -16,3 +16,7 @@ type debugfs_kcov, fs_type, debugfs_type;
# App executable files in /data/data directories
# App executable files in /data/data directories
type app_exec_data_file, file_type, data_file_type, core_data_file_type;
type app_exec_data_file, file_type, data_file_type, core_data_file_type;
typealias app_exec_data_file alias rs_data_file;
typealias app_exec_data_file alias rs_data_file;
# /data/misc_[ce|de]/rollback : Used by installd to store snapshots
# of application data.
type rollback_data_file, file_type, data_file_type, core_data_file_type;
This diff is collapsed.
Click to expand it.
private/file_contexts
+
4
−
0
View file @
9e332a59
...
@@ -514,6 +514,10 @@
...
@@ -514,6 +514,10 @@
# Bootchart data
# Bootchart data
/data/bootchart(/.*)? u:object_r:bootchart_data_file:s0
/data/bootchart(/.*)? u:object_r:bootchart_data_file:s0
# App data snapshots (managed by installd).
/data/misc_de/[0-9]+/rollback(/.*)? u:object_r:rollback_data_file:s0
/data/misc_ce/[0-9]+/rollback(/.*)? u:object_r:rollback_data_file:s0
#############################
#############################
# Expanded data files
# Expanded data files
#
#
...
...
This diff is collapsed.
Click to expand it.
private/vold_prepare_subdirs.te
+
2
−
0
View file @
9e332a59
...
@@ -17,6 +17,7 @@ allow vold_prepare_subdirs {
...
@@ -17,6 +17,7 @@ allow vold_prepare_subdirs {
face_vendor_data_file
face_vendor_data_file
fingerprint_vendor_data_file
fingerprint_vendor_data_file
iris_vendor_data_file
iris_vendor_data_file
rollback_data_file
storaged_data_file
storaged_data_file
vold_data_file
vold_data_file
}:dir { create_dir_perms relabelto };
}:dir { create_dir_perms relabelto };
...
@@ -24,6 +25,7 @@ allow vold_prepare_subdirs {
...
@@ -24,6 +25,7 @@ allow vold_prepare_subdirs {
face_vendor_data_file
face_vendor_data_file
fingerprint_vendor_data_file
fingerprint_vendor_data_file
iris_vendor_data_file
iris_vendor_data_file
rollback_data_file
storaged_data_file
storaged_data_file
system_data_file
system_data_file
vold_data_file
vold_data_file
...
...
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