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
dda010f6
Commit
dda010f6
authored
6 years ago
by
Narayan Kamath
Committed by
android-build-merger
6 years ago
Browse files
Options
Downloads
Plain Diff
Allow system_server to read apex_data_file. am:
9f343b32
am:
801e32ec
am:
5f7fc5fd
Change-Id: Iff0fb59f0a8793f3f6aa652a3049720b1895ec4e
parents
9a8cac32
5f7fc5fd
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/apexd.te
+1
-1
1 addition, 1 deletion
private/apexd.te
private/system_server.te
+7
-0
7 additions, 0 deletions
private/system_server.te
with
8 additions
and
1 deletion
private/apexd.te
+
1
−
1
View file @
dda010f6
...
...
@@ -68,5 +68,5 @@ allow apexd sysfs_loop:file rw_file_perms;
dontaudit apexd self:global_capability_class_set { dac_override dac_read_search };
neverallow { domain -apexd -init } apex_data_file:dir no_w_dir_perms;
neverallow { domain -apexd -init -kernel } apex_data_file:file no_
r
w_file_perms;
neverallow { domain -apexd -init -kernel } apex_data_file:file no_w_file_perms;
neverallow { domain -apexd } apex_mnt_dir:lnk_file no_w_file_perms;
This diff is collapsed.
Click to expand it.
private/system_server.te
+
7
−
0
View file @
dda010f6
...
...
@@ -958,6 +958,13 @@ allow system_server system_server_startup:unix_dgram_socket write;
allow system_server apex_service:service_manager find;
allow system_server apexd:binder call;
# Allow the system server to read files under /data/apex. The system_server
# needs these privileges to compare file signatures while processing installs.
#
# Only apexd is allowed to create new entries or write to any file under /data/apex.
allow system_server apex_data_file:dir search;
allow system_server apex_data_file:file r_file_perms;
# dexoptanalyzer is currently used only for secondary dex files which
# system_server should never access.
neverallow system_server dexoptanalyzer_exec:file no_x_file_perms;
...
...
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