Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
7a0b8efe
Commit
7a0b8efe
authored
9 years ago
by
Tao Bao
Committed by
android-build-merger
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow update_verifier to access bootctrl_block_device."
am:
e8b176ed
* commit '
e8b176ed
': Allow update_verifier to access bootctrl_block_device.
parents
637af04e
e8b176ed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
device.te
+3
-0
3 additions, 0 deletions
device.te
file_contexts
+1
-0
1 addition, 0 deletions
file_contexts
update_verifier.te
+10
-0
10 additions, 0 deletions
update_verifier.te
with
14 additions
and
0 deletions
device.te
+
3
−
0
View file @
7a0b8efe
...
@@ -98,3 +98,6 @@ type metadata_block_device, dev_type;
...
@@ -98,3 +98,6 @@ type metadata_block_device, dev_type;
# The 'misc' partition used by recovery and A/B.
# The 'misc' partition used by recovery and A/B.
type misc_block_device, dev_type;
type misc_block_device, dev_type;
# Bootctrl block device used by A/B update (update_engine, update_verifier).
type bootctrl_block_device, dev_type;
This diff is collapsed.
Click to expand it.
file_contexts
+
1
−
0
View file @
7a0b8efe
...
@@ -189,6 +189,7 @@
...
@@ -189,6 +189,7 @@
/system/bin/inputflinger u:object_r:inputflinger_exec:s0
/system/bin/inputflinger u:object_r:inputflinger_exec:s0
/system/bin/logd u:object_r:logd_exec:s0
/system/bin/logd u:object_r:logd_exec:s0
/system/bin/uncrypt u:object_r:uncrypt_exec:s0
/system/bin/uncrypt u:object_r:uncrypt_exec:s0
/system/bin/update_verifier u:object_r:update_verifier_exec:s0
/system/bin/logwrapper u:object_r:system_file:s0
/system/bin/logwrapper u:object_r:system_file:s0
/system/bin/vdc u:object_r:vdc_exec:s0
/system/bin/vdc u:object_r:vdc_exec:s0
/system/bin/install-recovery.sh u:object_r:install_recovery_exec:s0
/system/bin/install-recovery.sh u:object_r:install_recovery_exec:s0
...
...
This diff is collapsed.
Click to expand it.
update_verifier.te
0 → 100644
+
10
−
0
View file @
7a0b8efe
# update_verifier
type update_verifier, domain;
type update_verifier_exec, exec_type, file_type;
init_daemon_domain(update_verifier)
# Raw writes to bootctrl block device
allow update_verifier bootctrl_block_device:blk_file rw_file_perms;
# TODO: Add rules to allow update_verifier to read system_block_device.
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