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
280ba8b7
Commit
280ba8b7
authored
8 years ago
by
Connor O'Brien
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add permissions for hal_boot"
parents
a8340521
12443b7a
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
public/hal_boot.te
+1
-1
1 addition, 1 deletion
public/hal_boot.te
public/update_engine.te
+4
-0
4 additions, 0 deletions
public/update_engine.te
public/update_verifier.te
+0
-2
0 additions, 2 deletions
public/update_verifier.te
with
5 additions
and
3 deletions
public/hal_boot.te
+
1
−
1
View file @
280ba8b7
# boot_control subsystem
# boot_control subsystem
type hal_boot, domain;
type hal_boot, domain
, boot_control_hal
;
type hal_boot_exec, exec_type, file_type;
type hal_boot_exec, exec_type, file_type;
# hwbinder access
# hwbinder access
...
...
This diff is collapsed.
Click to expand it.
public/update_engine.te
+
4
−
0
View file @
280ba8b7
...
@@ -33,3 +33,7 @@ binder_call(update_engine, priv_app)
...
@@ -33,3 +33,7 @@ binder_call(update_engine, priv_app)
# Read OTA zip file at /data/ota_package/.
# Read OTA zip file at /data/ota_package/.
allow update_engine ota_package_file:file r_file_perms;
allow update_engine ota_package_file:file r_file_perms;
allow update_engine ota_package_file:dir r_dir_perms;
allow update_engine ota_package_file:dir r_dir_perms;
# Use binderized HAL
hwbinder_use(update_engine)
binder_call(update_engine, hal_boot)
This diff is collapsed.
Click to expand it.
public/update_verifier.te
+
0
−
2
View file @
280ba8b7
...
@@ -16,5 +16,3 @@ allow update_verifier system_block_device:blk_file r_file_perms;
...
@@ -16,5 +16,3 @@ allow update_verifier system_block_device:blk_file r_file_perms;
# Use binderized HAL
# Use binderized HAL
hwbinder_use(update_verifier)
hwbinder_use(update_verifier)
binder_call(update_verifier, hal_boot)
binder_call(update_verifier, hal_boot)
allow update_verifier system_file:dir r_dir_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