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
7b229405
Commit
7b229405
authored
6 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "sepolicy: Add mmap for profman"
parents
6026a4ad
7cab455f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/profman.te
+7
-7
7 additions, 7 deletions
public/profman.te
with
7 additions
and
7 deletions
public/profman.te
+
7
−
7
View file @
7b229405
...
...
@@ -2,24 +2,24 @@
type profman, domain;
type profman_exec, exec_type, file_type;
allow profman user_profile_data_file:file { getattr read write lock };
allow profman user_profile_data_file:file { getattr read write lock
map
};
# Dumping profile info opens the application APK file for pretty printing.
allow profman asec_apk_file:file { read };
allow profman apk_data_file:file { getattr read };
allow profman asec_apk_file:file { read
map
};
allow profman apk_data_file:file { getattr read
map
};
allow profman apk_data_file:dir { getattr read search };
allow profman oemfs:file { read };
allow profman oemfs:file { read
map
};
# Reading an APK opens a ZipArchive, which unpack to tmpfs.
allow profman tmpfs:file { read };
allow profman profman_dump_data_file:file { write };
allow profman tmpfs:file { read
map
};
allow profman profman_dump_data_file:file { write
map
};
allow profman installd:fd use;
# Allow profman to analyze profiles for the secondary dex files. These
# are application dex files reported back to the framework when using
# BaseDexClassLoader.
allow profman { privapp_data_file app_data_file }:file { getattr read write lock };
allow profman { privapp_data_file app_data_file }:file { getattr read write lock
map
};
allow profman { privapp_data_file app_data_file }:dir { getattr read search };
###
...
...
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